# File test/test_grit.rb, line 25 def test_logs_to_specified_logger Grit.logger = Logger.new(io = StringIO.new) Grit.log 'hi mom' io.rewind assert io.read.include?('hi mom') end