This project is archived and is in readonly mode.
Changeset [e2523ff68309f444cd052031c1fe8a3030d2865a] by Andrew White
Revision e2523ff68309f444cd052031c1fe8a3030d2865a,
committed 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...
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