Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused `subclass_controller_with_flash_type_bar` var from flas…

…h test.
  • Loading branch information...
commit a44d7107df9b71f747bb0075df05ce9dcac05822 1 parent 39a54c6
@vipulnsward vipulnsward authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/controller/flash_test.rb
View
4 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)
Please sign in to comment.
Something went wrong with that request. Please try again.