diff options
author | Rémy Coutable <remy@rymai.me> | 2017-01-14 00:18:40 -0500 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-01-15 01:07:29 -0500 |
commit | f6cc29ed83921c3dce98d8c519c4826e7cc8221a (patch) | |
tree | 72e16219c0c0609c2516ae9eb62bd9b3136f7a3f /spec/spec_helper.rb | |
parent | b038c53073b191df2044f96d4ff5d01a35b22d83 (diff) | |
download | gitlab-ce-f6cc29ed83921c3dce98d8c519c4826e7cc8221a.tar.gz |
Don't persist ApplicationSetting in test envdont-persist-application-settings-in-test-env
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 6ee3307512d..f78899134d5 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,6 +2,7 @@ require './spec/simplecov_env' SimpleCovEnv.start! ENV["RAILS_ENV"] ||= 'test' +ENV["IN_MEMORY_APPLICATION_SETTINGS"] = 'true' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' |