This commit is contained in:
Josh Thompson 2024-05-03 15:06:52 +00:00 committed by GitHub
commit 4a568d48d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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