Remove warnings: "(...) interpreted as grouped expression"
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user