Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit c3612a23e6c83c7f5634d4379df3d9a08b538454 1 parent 13cfabb
Marcel Molina authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/test/controller/flash_test.rb
2  actionpack/test/controller/flash_test.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.