aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/test/controller/flash_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/flash_test.rb b/actionpack/test/controller/flash_test.rb
index 2a14d6d625..13be68476b 100644
--- a/actionpack/test/controller/flash_test.rb
+++ b/actionpack/test/controller/flash_test.rb
@@ -31,7 +31,7 @@ class FlashTest < Test::Unit::TestCase
def use_flash_and_keep_it
@flash_copy = {}.update flash
@flashy = flash["that"]
- keep_flash
+ silence_warnings { keep_flash }
render :inline => "hello"
end