From c3612a23e6c83c7f5634d4379df3d9a08b538454 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Fri, 2 Dec 2005 00:39:25 +0000 Subject: Silence deprecation warnings for keep_flash when running tests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/controller/flash_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test/controller/flash_test.rb') 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 -- cgit v1.2.3