aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/action_pack_assertions_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-03-20 19:12:53 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-03-20 19:12:53 +0000
commita35cf348bf918c7170ff4890d25d2d48a133edc1 (patch)
treed429702b646205dd5e1c48aeef4c2c88bcf13ce8 /actionpack/test/controller/action_pack_assertions_test.rb
parent800b86e4c7464021d07dc763c1890b1bb49dacd4 (diff)
downloadrails-a35cf348bf918c7170ff4890d25d2d48a133edc1.tar.gz
rails-a35cf348bf918c7170ff4890d25d2d48a133edc1.tar.bz2
rails-a35cf348bf918c7170ff4890d25d2d48a133edc1.zip
Added a much improved Flash module that allows for finer-grained control on expiration and allows you to flash the current action #839 [Caio Chassot]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/action_pack_assertions_test.rb')
-rw-r--r--actionpack/test/controller/action_pack_assertions_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb
index 48d7ed2f3f..4eadbf4e34 100644
--- a/actionpack/test/controller/action_pack_assertions_test.rb
+++ b/actionpack/test/controller/action_pack_assertions_test.rb
@@ -179,7 +179,6 @@ class ActionPackAssertionsControllerTest < Test::Unit::TestCase
# test the flash-based assertions with no flash at all
def test_flash_assertions_negative
process :nothing
- assert_flash_not_exists
assert_flash_empty
assert_flash_has_no 'hello'
assert_flash_has_no 'qwerty'
@@ -230,7 +229,7 @@ class ActionPackAssertionsControllerTest < Test::Unit::TestCase
# check the empty flashing
def test_flash_me_naked
process :flash_me_naked
- assert @response.has_flash?
+ assert !@response.has_flash?
assert !@response.has_flash_with_contents?
end