This project is archived and is in readonly mode.

#3032 ✓duplicate
Bryan Helmkamp

Regression on 2.3 branch: Can't delete cookies from inside a test

Reported by Bryan Helmkamp | August 10th, 2009 @ 11:15 PM

This commit introduced a regression:

This test (included in my branch) demonstrates the behavior change:

def test_cookies_are_clearable_from_test
  get :authenticate
  response = get :count
  assert_equal "0", response.body

With 143c55d3 applied, the "count" action sees 1 cookie instead of 0. The following branch reverts the changeset and adds a test for the behavior that broke:

Comments and changes to this ticket

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=""></a>

Referenced by