extracted method

This commit is contained in:
Hauke Klement
2015-02-09 16:24:33 +01:00
parent 342c3a153c
commit 232c6b398f
5 changed files with 14 additions and 10 deletions

View File

@ -154,7 +154,7 @@ describe ExercisesController do
expect(assigns(:submission)).to be_a(Submission)
end
expect_content_type('application/json')
expect_json
expect_status(200)
end
@ -170,7 +170,7 @@ describe ExercisesController do
expect(assigns(:submission)).to be_a(Submission)
end
expect_content_type('application/json')
expect_json
expect_status(503)
end
end
@ -188,7 +188,7 @@ describe ExercisesController do
expect(assigns(:submission)).to be_a(Submission)
end
expect_content_type('application/json')
expect_json
expect_status(200)
end
end