This project is archived and is in readonly mode.

Changeset [316f4704eaa8aaba11e7ecebc1da9aa926fdd2d0] 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...

Committed by Craig Smith

  • M actionpack/lib/action_controller/testing/process.rb
  • M actionpack/test/controller/test_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>