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
855abc968d
commit
6f3259bc42
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ module DatabaseCleaner
|
||||||
end
|
end
|
||||||
|
|
||||||
class Production
|
class Production
|
||||||
KEYS = %w(ENV RACK_ENV RAILS_ENV)
|
KEYS = %w(ENV APP_ENV RACK_ENV RAILS_ENV)
|
||||||
|
|
||||||
def run
|
def run
|
||||||
raise Error::ProductionEnv.new(key) if !skip? && given?
|
raise Error::ProductionEnv.new(key) if !skip? && given?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue