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 [316f4704eaa8aaba11e7ecebc1da9aa926fdd2d0] by Craig Smith

Revision 316f4704eaa8aaba11e7ecebc1da9aa926fdd2d0, committed by Craig Smith · October 14th, 2009 @ 10:58 PM

Test cases should see all the cookies, not just cookies that have been set in the controller.

Previously this example would always pass, even when cookies.delete was not called.

@request.cookies['foo'] = 'bar' get :delete_cookie
assert_nil cookies['foo']

Signed-off-by: Michael Koziarski michael@koziarski.com
[#2768 state:committed] http://github.com/rails/rails/commit/316f4704eaa8aaba11e7ecebc1da9a...

2 changed files

  • M actionpack/lib/action_controller/testing/process.rb
  • M actionpack/test/controller/test_test.rb