test/test_helper.rb in logster-1.0.1 vs test/test_helper.rb in logster-1.1.1
- old
+ new
@@ -3,10 +3,11 @@
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 = []
@@ -24,9 +25,13 @@
@reported = []
end
def clear_all
@reported = []
+ end
+
+ def check_rate_limits(severity)
+ # Do nothing
end
# get, protect, unprotect: unimplemented
end