diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a70559d410..2157fcac65 100644 --- a/spec/spec_helper.rb +++ b/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