diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-04-06 18:13:16 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-04-06 18:13:16 -0700 |
commit | 1e90229e044b82846078d370a9539bd2457793b9 (patch) | |
tree | 7d5eedaa5260a9b15528eb1de8c1cb8d7e006649 /actionpack | |
parent | 32f876786aa1eb718f122b116203b01ee0260113 (diff) | |
download | rails-1e90229e044b82846078d370a9539bd2457793b9.tar.gz rails-1e90229e044b82846078d370a9539bd2457793b9.tar.bz2 rails-1e90229e044b82846078d370a9539bd2457793b9.zip |
many args does not make sense with the current implementation because of how `use` works
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/flash_hash_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/actionpack/test/controller/flash_hash_test.rb b/actionpack/test/controller/flash_hash_test.rb index 28c338c286..9b69a2648e 100644 --- a/actionpack/test/controller/flash_hash_test.rb +++ b/actionpack/test/controller/flash_hash_test.rb @@ -86,15 +86,5 @@ module ActionDispatch @hash.sweep assert_equal({'omg' => 'world'}, @hash.to_hash) end - - def test_discard_many_args - @hash['hello'] = 'world' - @hash['<3'] = 'world' - @hash['omg'] = 'world' - - @hash.discard ['hello', 'omg'] - @hash.sweep - assert_equal({'<3' => 'world'}, @hash.to_hash) - end end end |