Skip to content
Browse files

add failing test for rails#1089

  • Loading branch information...
1 parent b0385fe commit 29e8ca3698f470432e0a776be7d0b1d5c4e16389 @dchelimsky committed May 16, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 actionpack/test/controller/params_wrapper_test.rb
View
7 actionpack/test/controller/params_wrapper_test.rb
@@ -31,6 +31,13 @@ def test_derived_name_from_controller
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

0 comments on commit 29e8ca3

Please sign in to comment.
Something went wrong with that request. Please try again.