Commit 3ce52000930292af79fc0fb126825880714168cb

Authored by Mike Dillon
1 parent d3a40e56
Exists in master

Add "default" to test_env_tasks

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 3
4 # These rake tasks should always be run in the 'test' environment and the 4 # These rake tasks should always be run in the 'test' environment and the
5 # environment name must be set before loading the Rails application 5 # environment name must be set before loading the Rails application
6 -test_env_tasks = %w(spec) 6 +test_env_tasks = %w(default spec)
7 if Rake.application.top_level_tasks.any? { |t| test_env_tasks.include?(t) } 7 if Rake.application.top_level_tasks.any? { |t| test_env_tasks.include?(t) }
8 ENV['RAILS_ENV'] = 'test' 8 ENV['RAILS_ENV'] = 'test'
9 end 9 end