1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Turn off logging in test for small speed increase

This commit is contained in:
Josh Thompson 2024-04-18 16:17:19 -06:00
parent e5d5bd7ff1
commit babbde5d6f

View file

@ -77,6 +77,9 @@ Rails.application.configure do
# Raise error when a before_action's only/except options reference missing actions
config.action_controller.raise_on_missing_callback_actions = true
# disable logging in tests, for speed increases. Set to :info to bring back logging
config.log_level = :warn
end
Paperclip::Attachment.default_options[:path] = Rails.root.join('spec', 'test_files', ':class', ':id_partition', ':style.:extension')