diff options
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/flash_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/flash_test.rb b/actionpack/test/controller/flash_test.rb index ff5587d768..3720a920d0 100644 --- a/actionpack/test/controller/flash_test.rb +++ b/actionpack/test/controller/flash_test.rb @@ -229,8 +229,8 @@ class FlashTest < ActionController::TestCase assert subclass_controller_with_no_flash_type._flash_types.include?(:foo) end - def test_do_not_add_flash_type_to_parent_class - subclass_controller_with_flash_type_bar = Class.new(TestController) do + def test_does_not_add_flash_type_to_parent_class + Class.new(TestController) do add_flash_types :bar end assert_not TestController._flash_types.include?(:bar) |