Skip to content

Commit

Permalink
Add APP_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvh authored Jul 9, 2020
1 parent 6f3259b commit 12c9041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/database_cleaner/safeguard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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") }

Expand Down

0 comments on commit 12c9041

Please sign in to comment.