Skip to content

Commit

Permalink
deprecated keep_flash test
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Sep 4, 2006
1 parent 3158730 commit 7cbb4ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/test/controller/flash_test.rb
Expand Up @@ -70,7 +70,7 @@ def test_flash
def test_keep_flash
get :set_flash

get :use_flash_and_keep_it
assert_deprecated(/keep_flash/) { get :use_flash_and_keep_it }
assert_equal "hello", @response.template.assigns["flash_copy"]["that"]
assert_equal "hello", @response.template.assigns["flashy"]

Expand Down Expand Up @@ -99,4 +99,4 @@ def test_flash_after_reset_session
assert_equal "good-bye", @response.template.assigns["flashy_this"]
assert_nil @response.template.assigns["flashy_that_reset"]
end
end
end

0 comments on commit 7cbb4ac

Please sign in to comment.