This project is archived and is in readonly mode.

#1953 ✓resolved

Fix bad test name in ActionController::TestSessionTest

Reported by CancelProfileIsBroken | February 12th, 2009 @ 04:44 PM | in 2.x

ActionController::TestSessionTest contains

def test_calling_delete_removes item

This runs fine under ruby 1.8.x, but under 1.9.1 fails with ArgumentError: wrong number of arguments (0 for 1).

The easy fix (attached) is to make the test name what it was intended to be in the first place:

def test_calling_delete_removes_item

With the underscore, passes under both 1.8.6 and 1.9.1

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>

People watching this ticket



Referenced by