Skip to content

Commit

Permalink
Set up a logger on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Mugnolo committed Dec 30, 2013
1 parent 8fa252b commit 3cbcf46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ class TestApp < Rails::Application
config.eager_load = false
config.secret_key_base = 'abc123'
end

# Set up a logger to avoid creating a log directory on every run.
config.logger = Logger.new(nil)
end

TestApp.initialize!

0 comments on commit 3cbcf46

Please sign in to comment.