fixed RAILS_ENV undefined on CI

pull/6827/head
Jens Ulferts 14 years ago
parent 3397ad7d4c
commit 29fde47a2f
  1. 4
      spec/spec_helper.rb

@ -1,4 +1,4 @@
RAILS_ENV ||= "test"
RAILS_ENV = "test" unless defined? RAILS_ENV
# prevent case where we are using rubygems and test-unit 2.x is installed
begin
@ -15,7 +15,7 @@ rescue LoadError => error
You need to install rspec in your Redmine project.
Please execute the following code:
gem install rspec-rails
script/generate rspec

Loading…
Cancel
Save