Force `RAILS_ENV` to `test` in `spec/spec_helper.rb`
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
1140fcce4f
commit
3e5477b3ab
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue