This project is archived and is in readonly mode.

#4458 ✓resolved
Philippe Creux

[BUG] [PATCH] Rails 3.0 should allow tests to run in 'cucumber' environment

Reported by Philippe Creux | April 22nd, 2010 @ 06:58 PM | in 3.0.5

rails/railties/lib/rails/test_help.rb aborts if the environment is not 'test'. See: http://github.com/rails/rails/blob/master/railties/lib/rails/test_h...

I can't run Cucumber/RSpec/Test_Unit tests in different environments then.

I attach a path so that it aborts testing if the environment is development or production.

Edit: That's in Rails 3.0. Looks like I can't update the milestone. Sorry for this. :-/

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>

Pages