aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-07-19 22:33:51 +0200
committerJosé Valim <jose.valim@gmail.com>2010-07-19 22:35:17 +0200
commitc3c349ec3e9a3990cac4d256c308b18fd35d9606 (patch)
tree1e0b108921cef2e9ecfed309f01a0db22fe564d4 /actionpack/test
parent17600eb435693f333af46912fd796fcdff5657b2 (diff)
downloadrails-c3c349ec3e9a3990cac4d256c308b18fd35d9606.tar.gz
rails-c3c349ec3e9a3990cac4d256c308b18fd35d9606.tar.bz2
rails-c3c349ec3e9a3990cac4d256c308b18fd35d9606.zip
Remove assert_valid. It was already deprecated on Rails 2.3.
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/action_pack_assertions_test.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb
index 765e111226..53cdd358b4 100644
--- a/actionpack/test/controller/action_pack_assertions_test.rb
+++ b/actionpack/test/controller/action_pack_assertions_test.rb
@@ -482,21 +482,6 @@ class ActionPackAssertionsControllerTest < ActionController::TestCase
assert_redirected_to :controller => 'admin/user'
end
- def test_assert_valid
- get :get_valid_record
- assert_deprecated { assert_valid assigns('record') }
- end
-
- def test_assert_valid_failing
- get :get_invalid_record
-
- begin
- assert_deprecated { assert_valid assigns('record') }
- assert false
- rescue ActiveSupport::TestCase::Assertion => e
- end
- end
-
def test_assert_response_uses_exception_message
@controller = AssertResponseWithUnexpectedErrorController.new
get :index