Remove warnings: "(...) interpreted as grouped expression"

This commit is contained in:
Carlos Antonio da Silva 2013-01-16 09:37:13 -02:00
parent c8b0a6f0b4
commit e5f5863e86

@ -11,11 +11,11 @@ class ActionControllerRequiredParamsTest < ActionController::TestCase
tests BooksController
test "missing required parameters will raise exception" do
assert_raise (ActionController::ParameterMissing) do
assert_raise ActionController::ParameterMissing do
post :create, { magazine: { name: "Mjallo!" } }
end
assert_raise (ActionController::ParameterMissing) do
assert_raise ActionController::ParameterMissing do
post :create, { book: { title: "Mjallo!" } }
end
end