mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Add APP_ENV
This commit is contained in:
parent
6f3259bc42
commit
12c904161a
1 changed files with 1 additions and 1 deletions
|
@ -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") }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue