Sha256: 7f4ac36a0e6e4070d23b50a7b1907f8bcd611d2a17caf81ce735f22942ffaad6
Contents?: true
Size: 568 Bytes
Versions: 12
Compression:
Stored size: 568 Bytes
Contents
require 'minitest' require 'minitest/unit' require 'minitest/autorun' require 'minitest/pride' require 'redis' require 'logster' require 'logster/base_store' require 'timecop' class Logster::TestStore < Logster::BaseStore attr_accessor :reported def initialize @reported = [] end def save(message) @reported << message end def count @reported.count end def clear @reported = [] end def clear_all @reported = [] end def check_rate_limits(severity) # Do nothing end # get, protect, unprotect: unimplemented end
Version data entries
12 entries across 12 versions & 1 rubygems