Remove AR loggin in test enviroment - speed boost hence
This commit is contained in:
parent
ce3b733039
commit
78cdbf81a1
1 changed files with 5 additions and 0 deletions
|
|
@ -40,4 +40,9 @@ Osem::Application.configure do
|
||||||
|
|
||||||
# Do not perform deliveries on test
|
# Do not perform deliveries on test
|
||||||
config.action_mailer.perform_deliveries = false
|
config.action_mailer.perform_deliveries = false
|
||||||
|
|
||||||
|
config.after_initialize do
|
||||||
|
ActiveRecord::Base.logger = nil
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue