Skip to content

Commit

Permalink
Add "default" to test_env_tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
md5 committed Jan 10, 2016
1 parent d3a40e5 commit 3ce5200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ce5200

Please sign in to comment.