This project is archived and is in readonly mode.

Changeset [e2523ff68309f444cd052031c1fe8a3030d2865a] by Andrew White

March 6th, 2011 @ 12:59 PM

Improve testing of cookies in functional tests:
- cookies can be set using string or symbol keys - cookies are preserved across calls to get, post, etc. - cookie names and values are escaped - cookies can be cleared using @request.cookies.clear

[#6272 state:resolved] https://github.com/rails/rails/commit/e2523ff68309f444cd052031c1fe8...

Committed by Andrew White

  • M actionpack/lib/action_controller/test_case.rb
  • M actionpack/lib/action_dispatch/testing/test_process.rb
  • M actionpack/lib/action_dispatch/testing/test_request.rb
  • M actionpack/test/dispatch/cookies_test.rb
  • M actionpack/test/dispatch/test_request_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>