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

Compare commits

...

2 commits

Author SHA1 Message Date
Josh Thompson
3435c3164c
Merge babbde5d6f into 549ab089ee 2024-07-31 11:06:47 +00:00
Josh Thompson
babbde5d6f Turn off logging in test for small speed increase 2024-04-18 16:17:19 -06:00

View file

@ -72,6 +72,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')