diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-16 09:37:13 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-16 09:41:08 -0200 |
commit | e5f5863e86a93d8eea503fb36127e7ebe7364f5e (patch) | |
tree | 1e26efb4855f0359012fd7b737bcec416fea566e /actionpack | |
parent | c8b0a6f0b4651c52c94745dea868477e5f5375f5 (diff) | |
download | rails-e5f5863e86a93d8eea503fb36127e7ebe7364f5e.tar.gz rails-e5f5863e86a93d8eea503fb36127e7ebe7364f5e.tar.bz2 rails-e5f5863e86a93d8eea503fb36127e7ebe7364f5e.zip |
Remove warnings: "(...) interpreted as grouped expression"
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/required_params_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/required_params_test.rb b/actionpack/test/controller/required_params_test.rb index 2898adee72..343d57c300 100644 --- a/actionpack/test/controller/required_params_test.rb +++ b/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 |