diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-14 17:22:49 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-14 17:22:49 +0200 |
commit | 3e5477b3ab1838a75dc5461e4176b5631bf08412 (patch) | |
tree | fbb7be2b2951ba895a68410ca0e3c2c9ca324199 | |
parent | 1140fcce4f8b5463f451356b76fea125826478b2 (diff) | |
download | gitlab-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.rb | 2 |
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__) |