diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-17 11:38:01 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-17 11:38:01 +0000 |
commit | dca7efa67ec12b986ed03844af588055c9d8bdb9 (patch) | |
tree | 13207b1dce3af68528ddfe11d32ee98f627eb0a0 /actionpack/test | |
parent | d5b67ed8d33dbde44d24d7d93135261062e550d1 (diff) | |
download | rails-dca7efa67ec12b986ed03844af588055c9d8bdb9.tar.gz rails-dca7efa67ec12b986ed03844af588055c9d8bdb9.tar.bz2 rails-dca7efa67ec12b986ed03844af588055c9d8bdb9.zip |
Deprecated the majority of all the testing assertions and replaced them with a much smaller core and access to all the collections the old assertions relied on. That way the regular test/unit assertions can be used against these. Added documentation about how to use it all.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/action_pack_assertions_test.rb | 3 |
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 4eadbf4e34..4823983165 100644 --- a/actionpack/test/controller/action_pack_assertions_test.rb +++ b/actionpack/test/controller/action_pack_assertions_test.rb @@ -170,7 +170,6 @@ class ActionPackAssertionsControllerTest < Test::Unit::TestCase process :flash_me assert @response.has_flash_with_contents? assert_flash_exists - assert ActionController::TestResponse.assertion_target.has_flash_with_contents? assert_flash_not_empty assert_flash_has 'hello' assert_flash_has_no 'stds' @@ -385,4 +384,4 @@ class ActionPackHeaderTest < Test::Unit::TestCase process :hello_xml_world assert_equal('application/pdf', @controller.headers['Content-Type']) end -end +end
\ No newline at end of file |