summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-09-14 17:22:49 +0200
committerRémy Coutable <remy@rymai.me>2017-09-14 17:22:49 +0200
commit3e5477b3ab1838a75dc5461e4176b5631bf08412 (patch)
treefbb7be2b2951ba895a68410ca0e3c2c9ca324199
parent1140fcce4f8b5463f451356b76fea125826478b2 (diff)
downloadgitlab-ce-3e5477b3ab1838a75dc5461e4176b5631bf08412.tar.gz
Force `RAILS_ENV` to `test` in `spec/spec_helper.rb`
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index ff1754fbe7e..92735336572 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,7 +1,7 @@
require './spec/simplecov_env'
SimpleCovEnv.start!
-ENV["RAILS_ENV"] ||= 'test'
+ENV["RAILS_ENV"] = 'test'
ENV["IN_MEMORY_APPLICATION_SETTINGS"] = 'true'
require File.expand_path("../../config/environment", __FILE__)