mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
deprecated keep_flash test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -70,7 +70,7 @@ class FlashTest < Test::Unit::TestCase
|
||||
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"]
|
||||
|
||||
@@ -99,4 +99,4 @@ class FlashTest < Test::Unit::TestCase
|
||||
assert_equal "good-bye", @response.template.assigns["flashy_this"]
|
||||
assert_nil @response.template.assigns["flashy_that_reset"]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user