Last active
August 29, 2015 14:05
-
-
Save joshmcarthur/9f6f740dd9468b4295d5 to your computer and use it in GitHub Desktop.
Disable logging from Authority while running tests (e.g. `User #123 is not authorized...`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Turn off authority logging while running tests | |
Authority.configure do |config| | |
config.logger = Logger.new('/dev/null') | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment