This project is archived and is in readonly mode.

Changeset [31f09f9dbc1b8e598fc82d86b622167bfc01d18a] by Andrew White

March 6th, 2011 @ 12:49 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/31f09f9dbc1b8e598fc82d86b6221...

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>