diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-20 21:25:09 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-20 21:25:47 -0600 |
commit | 3b317b7100c9a416f4e3545f3844f0c0743acdb2 (patch) | |
tree | b94cd268610a51756fc6418f1983a333e37420a1 /actionpack/lib/action_controller/test_case.rb | |
parent | 606cd61b9a2a710a27c2e482b5dace100cce9779 (diff) | |
download | rails-3b317b7100c9a416f4e3545f3844f0c0743acdb2.tar.gz rails-3b317b7100c9a416f4e3545f3844f0c0743acdb2.tar.bz2 rails-3b317b7100c9a416f4e3545f3844f0c0743acdb2.zip |
Switch to Rack::Response#set_cookie instead of using CGI::Cookie to build cookie headers
Diffstat (limited to 'actionpack/lib/action_controller/test_case.rb')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 79a8e1364d..7ed1a3e160 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -93,10 +93,7 @@ module ActionController # and cookies, though. For sessions, you just do: # # @request.session[:key] = "value" - # - # For cookies, you need to manually create the cookie, like this: - # - # @request.cookies["key"] = CGI::Cookie.new("key", "value") + # @request.cookies["key"] = "value" # # == Testing named routes # |