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:
@@ -1,6 +1,6 @@
|
||||
class ApplicationLogger
|
||||
def info(message)
|
||||
logger.info(message)
|
||||
logger.info(message) unless Rails.env.test?
|
||||
end
|
||||
|
||||
def logger
|
||||
|
||||
Reference in New Issue
Block a user