Permalink
Browse files

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

  • Loading branch information...
carlosantoniodasilva committed Jan 16, 2013
1 parent c8b0a6f commit e5f5863e86a93d8eea503fb36127e7ebe7364f5e
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/controller/required_params_test.rb
@@ -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

0 comments on commit e5f5863

Please sign in to comment.