Add APP_ENV

This commit is contained in:
Joel Van Horn 2020-07-09 13:47:06 -04:00 committed by GitHub
parent 6f3259bc42
commit 12c904161a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,7 @@ module DatabaseCleaner
end end
describe 'ENV is set to production' do describe 'ENV is set to production' do
%w(ENV RACK_ENV RAILS_ENV).each do |key| %w(ENV APP_ENV RACK_ENV RAILS_ENV).each do |key|
describe "on #{key}" do describe "on #{key}" do
before { stub_const('ENV', key => "production") } before { stub_const('ENV', key => "production") }