mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Don't load test env by default
This commit is contained in:
parent
331c59f47c
commit
a3dbb962fa
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
if defined?(Rake.application) && Rake.application.top_level_tasks.grep(/^(default$|test(:|$))/).any?
|
||||
if defined?(Rake.application) && Rake.application.top_level_tasks.grep(/^test(?::|$)/).any?
|
||||
ENV['RAILS_ENV'] ||= 'test'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue