test/test_helper.rb in logster-2.1.0 vs test/test_helper.rb in logster-2.1.1
- old
+ new
@@ -1,38 +1,38 @@
-require 'minitest'
-require 'minitest/unit'
-require 'minitest/autorun'
-require 'minitest/pride'
-require 'redis'
-require 'logster'
-require 'logster/base_store'
-require 'timecop'
-require 'byebug'
-
-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
+require 'minitest'
+require 'minitest/unit'
+require 'minitest/autorun'
+require 'minitest/pride'
+require 'redis'
+require 'logster'
+require 'logster/base_store'
+require 'timecop'
+require 'byebug'
+
+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