aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/cookie_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-01-07 13:23:10 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-01-07 14:49:05 -0800
commit35fa00731329120fa1d0c2a9d66af6813203195a (patch)
tree32457ad68703af36d8fa2ee74bb12232428ebbf2 /actionpack/test/controller/cookie_test.rb
parent0f9e65b71f9af30dac17689e81f4353e9fcac5b6 (diff)
downloadrails-35fa00731329120fa1d0c2a9d66af6813203195a.tar.gz
rails-35fa00731329120fa1d0c2a9d66af6813203195a.tar.bz2
rails-35fa00731329120fa1d0c2a9d66af6813203195a.zip
Include process methods in ActionController::TestCase only. No need to alias_method_chain :process either.
Diffstat (limited to 'actionpack/test/controller/cookie_test.rb')
-rw-r--r--actionpack/test/controller/cookie_test.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/actionpack/test/controller/cookie_test.rb b/actionpack/test/controller/cookie_test.rb
index 3ddc5768a9..9508348ca1 100644
--- a/actionpack/test/controller/cookie_test.rb
+++ b/actionpack/test/controller/cookie_test.rb
@@ -1,6 +1,6 @@
require 'abstract_unit'
-class CookieTest < Test::Unit::TestCase
+class CookieTest < ActionController::TestCase
class TestController < ActionController::Base
def authenticate
cookies["user_name"] = "david"
@@ -41,11 +41,9 @@ class CookieTest < Test::Unit::TestCase
end
end
- def setup
- @request = ActionController::TestRequest.new
- @response = ActionController::TestResponse.new
+ tests TestController
- @controller = TestController.new
+ def setup
@request.host = "www.nextangle.com"
end