mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Set up a logger on tests
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user