aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/components_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-11-07 15:42:34 -0500
committerJeremy Kemper <jeremy@bitsweat.net>2008-11-07 15:42:34 -0500
commitc82e8e1f483ece1fbd2e9f73715fd211487620fc (patch)
tree61711ba9d97ff640c3794f480c14b3cd83264b32 /actionpack/test/controller/components_test.rb
parentebf14baa0eea1d7e98090b189369c1879b05dd54 (diff)
downloadrails-c82e8e1f483ece1fbd2e9f73715fd211487620fc.tar.gz
rails-c82e8e1f483ece1fbd2e9f73715fd211487620fc.tar.bz2
rails-c82e8e1f483ece1fbd2e9f73715fd211487620fc.zip
Move controller assertions from base TestCase to AC:: and AV::TestCase
Diffstat (limited to 'actionpack/test/controller/components_test.rb')
-rw-r--r--actionpack/test/controller/components_test.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/actionpack/test/controller/components_test.rb b/actionpack/test/controller/components_test.rb
index 4d36fc411d..e7b17aa34e 100644
--- a/actionpack/test/controller/components_test.rb
+++ b/actionpack/test/controller/components_test.rb
@@ -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