Commit faab6964710e3e93b5942fd432b0a5f1a4492d08
Exists in
master
Merge pull request #1029 from appropriate/add-default-to-test_env_tasks
Add "default" to test_env_tasks
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
Rakefile
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | |
4 | 4 | # These rake tasks should always be run in the 'test' environment and the |
5 | 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 | 7 | if Rake.application.top_level_tasks.any? { |t| test_env_tasks.include?(t) } |
8 | 8 | ENV['RAILS_ENV'] = 'test' |
9 | 9 | end | ... | ... |