This project is archived and is in readonly mode.

#4190 ✓committed
Mathias Biilmann

uninitialized constant ActionDispatch::Integration::Session::Test

Reported by Mathias Biilmann | March 16th, 2010 @ 11:53 AM | in 3.0.2

When trying to run cucumber from a rails 3 app a NameError is raised by ActionDispatch::Integration::Session

I fixed this by simple adding a:
require 'test/unit/assertions'

This might be a naive fix (should const_missing handle this?), but it seems consistent with other with other testing classes that also explicitly requires parts of test/unit.

I have attached a patch.

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages