This project is archived and is in readonly mode.
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
-
Repository February 12th, 2009 @ 04:48 PM
- State changed from new to resolved
(from [b1d41bdfb06cb5f606f515965316a348d9bc9b47]) Remove space from the test name [#1953 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
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>
People watching this ticket
Attachments
Referenced by
- 1953 Fix bad test name in ActionController::TestSessionTest (from [b1d41bdfb06cb5f606f515965316a348d9bc9b47]) Remove ...