Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [31f09f9dbc1b8e598fc82d86b622167bfc01d18a] by Andrew White

Revision 31f09f9dbc1b8e598fc82d86b622167bfc01d18a, committed 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...

5 changed files

  • 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