Force `RAILS_ENV` to `test` in `spec/spec_helper.rb`

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2017-09-14 17:22:49 +02:00
parent 1140fcce4f
commit 3e5477b3ab
No known key found for this signature in database
GPG Key ID: 46DF07E5CD9E96AB
1 changed files with 1 additions and 1 deletions

View File

@ -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__)