From 3ce52000930292af79fc0fb126825880714168cb Mon Sep 17 00:00:00 2001 From: Mike Dillon Date: Sat, 9 Jan 2016 19:50:57 -0800 Subject: [PATCH] Add "default" to test_env_tasks --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 536f961..fa67626 100644 --- a/Rakefile +++ b/Rakefile @@ -3,7 +3,7 @@ # These rake tasks should always be run in the 'test' environment and the # environment name must be set before loading the Rails application -test_env_tasks = %w(spec) +test_env_tasks = %w(default spec) if Rake.application.top_level_tasks.any? { |t| test_env_tasks.include?(t) } ENV['RAILS_ENV'] = 'test' end -- libgit2 0.21.2