Permalink
Browse files

r3379@asus: jeremy | 2005-12-07 20:42:31 -0800

 Don't warn on keep_flash in test.


git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 67cbb0f commit 60d68aab53e261854fea30a3a85da92191395950 @jeremy jeremy committed Dec 8, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/controller/flash_test.rb
@@ -31,7 +31,7 @@ def use_flash
def use_flash_and_keep_it
@flash_copy = {}.update flash
@flashy = flash["that"]
- keep_flash
+ silence_warnings { keep_flash }
render :inline => "hello"
end

0 comments on commit 60d68aa

Please sign in to comment.