class LoggerTest

Public Instance Methods

test_i() click to toggle source
# File test/test_logger.rb, line 8
def test_i
  $DEBUG = true
  @log = Upwork::Api::Logger.new
  @log.expects(:puts).with("> bar")
  @log.i "bar"
  $DEBUG = false
end