1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
This commit is contained in:
David Chelimsky 2011-05-16 12:30:36 -05:00
parent b0385fe1b2
commit 29e8ca3698

View file

@ -31,6 +31,13 @@ class ParamsWrapperTest < ActionController::TestCase
end
end
def test_derived_name_from_controller_given_an_anonymous_controller
with_default_wrapper_options do
# This should not raise an error.
Class.new(UsersController)
end
end
def test_specify_wrapper_name
with_default_wrapper_options do
UsersController.wrap_parameters :person