fixed test
This commit is contained in:
@ -67,7 +67,7 @@ describe ErrorsController do
|
|||||||
expect_assigns(execution_environment: :execution_environment)
|
expect_assigns(execution_environment: :execution_environment)
|
||||||
|
|
||||||
it 'aggregates errors by message' do
|
it 'aggregates errors by message' do
|
||||||
expect(errors.count).to be_a(Numeric)
|
expect(assigns(:errors).count).to eq(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
expect_status(200)
|
expect_status(200)
|
||||||
|
Reference in New Issue
Block a user