mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
add failing test for https://github.com/rails/rails/issues/1089
This commit is contained in:
parent
b0385fe1b2
commit
29e8ca3698
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue