refactored error aggregation

This commit is contained in:
Hauke Klement
2015-02-18 17:18:46 +01:00
parent ea44db73ef
commit 28405783a2
3 changed files with 4 additions and 5 deletions

View File

@ -67,7 +67,7 @@ describe ErrorsController do
expect_assigns(execution_environment: :execution_environment)
it 'aggregates errors by message' do
expect(assigns(:errors).count).to eq(1)
expect(assigns(:errors).length).to eq(1)
end
expect_status(200)