aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/parameters
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-01-05 07:04:42 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-01-05 07:04:42 -0300
commit0102c817bfb8ca6810732e02a6eee888935a1b92 (patch)
tree536703874f259fb9468eda23b7ed1dd41c28b824 /actionpack/test/controller/parameters
parent18ac587cd8ebd260d7fb076a26fff62b7f8ef7e0 (diff)
downloadrails-0102c817bfb8ca6810732e02a6eee888935a1b92.tar.gz
rails-0102c817bfb8ca6810732e02a6eee888935a1b92.tar.bz2
rails-0102c817bfb8ca6810732e02a6eee888935a1b92.zip
Rename the last occurrence of UnexpectedParameters
Diffstat (limited to 'actionpack/test/controller/parameters')
-rw-r--r--actionpack/test/controller/parameters/raise_on_unpermitted_parameters_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/parameters/raise_on_unpermitted_parameters_test.rb b/actionpack/test/controller/parameters/raise_on_unpermitted_parameters_test.rb
index 98a8280331..747b8123ea 100644
--- a/actionpack/test/controller/parameters/raise_on_unpermitted_parameters_test.rb
+++ b/actionpack/test/controller/parameters/raise_on_unpermitted_parameters_test.rb
@@ -16,7 +16,7 @@ class RaiseOnUnpermittedParametersTest < ActiveSupport::TestCase
fishing: "Turnips"
})
- assert_raises(ActionController::UnexpectedParameters) do
+ assert_raises(ActionController::UnpermittedParameters) do
params.permit(book: [:pages])
end
end
@@ -26,7 +26,7 @@ class RaiseOnUnpermittedParametersTest < ActiveSupport::TestCase
book: { pages: 65, title: "Green Cats and where to find then." }
})
- assert_raises(ActionController::UnexpectedParameters) do
+ assert_raises(ActionController::UnpermittedParameters) do
params.permit(book: [:pages])
end
end