Skip to content

Instantly share code, notes, and snippets.

@joshmcarthur
Last active August 29, 2015 14:05
Show Gist options
  • Save joshmcarthur/9f6f740dd9468b4295d5 to your computer and use it in GitHub Desktop.
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...`)
# 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