diff options
-rw-r--r-- | actionpack/test/controller/flash_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/flash_test.rb b/actionpack/test/controller/flash_test.rb index a6ce3d11b7..d12ced8530 100644 --- a/actionpack/test/controller/flash_test.rb +++ b/actionpack/test/controller/flash_test.rb @@ -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
\ No newline at end of file +end |