Set up a logger on tests

This commit is contained in:
Adrian Mugnolo 2013-12-30 14:11:45 -02:00
parent 8fa252b4fd
commit 3cbcf461a3

View File

@ -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!