Permalink
Browse files

Remove unused `subclass_controller_with_flash_type_bar` var from flas…

…h test.
  • Loading branch information...
1 parent 39a54c6 commit a44d7107df9b71f747bb0075df05ce9dcac05822 @vipulnsward vipulnsward committed Apr 7, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/controller/flash_test.rb
@@ -229,8 +229,8 @@ def test_add_flash_type_to_subclasses
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)

0 comments on commit a44d710

Please sign in to comment.