diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-01-07 13:23:10 -0800 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-01-09 00:14:27 -0800 |
commit | cf09fa74f7a9d9895b9a2d0fc475864d7e4bb56e (patch) | |
tree | 33244e36075904c8bb4382399475a03e88cfc5f7 /actionpack/test/controller/cookie_test.rb | |
parent | c2d23affad0ed4542e3906c334a7b27b07fc695c (diff) | |
download | rails-cf09fa74f7a9d9895b9a2d0fc475864d7e4bb56e.tar.gz rails-cf09fa74f7a9d9895b9a2d0fc475864d7e4bb56e.tar.bz2 rails-cf09fa74f7a9d9895b9a2d0fc475864d7e4bb56e.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.rb | 8 |
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 |