Move controller assertions from base TestCase to AC:: and AV::TestCase

This commit is contained in:
Jeremy Kemper
2008-11-07 15:42:34 -05:00
parent ebf14baa0e
commit c82e8e1f48
26 changed files with 191 additions and 265 deletions

View File

@@ -69,12 +69,8 @@ class CalleeController < ActionController::Base
def rescue_action(e) raise end
end
class ComponentsTest < Test::Unit::TestCase
def setup
@controller = CallerController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
class ComponentsTest < ActionController::TestCase
tests CallerController
def test_calling_from_controller
assert_deprecated do