This project is archived and is in readonly mode.
Rails tests fail in Ruby 1.9.1
-
Niels Ganser
Test::Unit is not included in Ruby 1.9 any longer but
sudo gem191 install test-unit
should do the trick. Thus this ticket should IMHO be set to wontfix
-
Mike Perham
Then the fix is to include test-unit as a gem dependency. Rails should not be creating test infrastructure that does not work out of the box with Ruby 1.9.
-
Prem Sichanugrist (sikachu)
- State changed from new to wontfix
Since Rails 2.3, unit testing should be done using
ActiveSupport::TestCaseinstead. You can confirm this behavior by generate a model, and you would see that unit testing inherits fromActiveSupport::TestCasenow.If you still need test-unit, then you will need to install the gem.