aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-09-04 05:06:10 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-09-04 05:06:10 +0000
commit7cbb4ac44fcdf79bf4c2ba344930b1dd82eb10aa (patch)
treef81c7aa3f65e1d6f102c52e9478e32918d890bee /actionpack/test/controller
parent315873041155510fc629e78e4f1567e913935340 (diff)
downloadrails-7cbb4ac44fcdf79bf4c2ba344930b1dd82eb10aa.tar.gz
rails-7cbb4ac44fcdf79bf4c2ba344930b1dd82eb10aa.tar.bz2
rails-7cbb4ac44fcdf79bf4c2ba344930b1dd82eb10aa.zip
deprecated keep_flash test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/flash_test.rb4
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