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.

Fix bad test name in ActionController::TestSessionTest

#1953

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

Reported by CancelProfileIsBroken · February 12th, 2009 @ 04:44 PM

State: resolved
Milestone: 2.x
Assigned to: Pratik Pratik
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [b1d41bdfb06cb5f606f515965316a348d9bc9b47]) Remove space from the test name [#1953 Fix bad test name in ActionController::TestSessionTest state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    February 12th, 2009 @ 04:48 PM