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:
parent
e5d5bd7ff1
commit
babbde5d6f
1 changed files with 3 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue