From 1e90229e044b82846078d370a9539bd2457793b9 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 6 Apr 2011 18:13:16 -0700 Subject: many args does not make sense with the current implementation because of how `use` works --- actionpack/test/controller/flash_hash_test.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'actionpack') 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 -- cgit v1.2.3