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