This project is archived and is in readonly mode.

#4987 ✓committed
David Trasbo

Action Pack test suite: "uninitialized constant Test::Unit::AssertionFailedError"

Reported by David Trasbo | June 26th, 2010 @ 09:35 PM | in 3.0.2

It seems that Rails uses the MiniTest implementation of Test::Unit in some cases, and the standard implementation in others - I haven't been able to work out how that works, but the fact of the matter is: A test in the Action Pack suite fails because it references Test::Unit::AssertionFailedError even though it might not exist.

I'm attaching a patch in a minute that changes the test to reference the generic ActiveSupport::TestCase::Assertion which changes depending on which Test::Unit implementation is used.

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>

Attachments

Referenced by

Pages