From ad7b1f65a135e1c4be8b4f0526e475a45fc9a9ea Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Tue, 8 Feb 2011 14:23:34 +0100 Subject: [PATCH] fixed RAILS_ENV undefined on CI --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b22af9acf2..71485d3a4e 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