Don't add log info messages when running tests

We use these messages in rake tasks, but when we run the test suite they
only add noise.
This commit is contained in:
Javi Martín
2019-11-08 18:05:38 +01:00
parent 487008d445
commit a1b89094be

View File

@@ -1,6 +1,6 @@
class ApplicationLogger class ApplicationLogger
def info(message) def info(message)
logger.info(message) logger.info(message) unless Rails.env.test?
end end
def logger def logger