From 12c904161a55a481f44881e92b4b3dee88abe5d4 Mon Sep 17 00:00:00 2001 From: Joel Van Horn Date: Thu, 9 Jul 2020 13:47:06 -0400 Subject: [PATCH] Add APP_ENV --- spec/database_cleaner/safeguard_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/database_cleaner/safeguard_spec.rb b/spec/database_cleaner/safeguard_spec.rb index 573ae2c..d757223 100644 --- a/spec/database_cleaner/safeguard_spec.rb +++ b/spec/database_cleaner/safeguard_spec.rb @@ -126,7 +126,7 @@ module DatabaseCleaner end 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 before { stub_const('ENV', key => "production") }