Sha256: 03bf82b5c7bf7357d6f7c79b33b40b6f04b5e520ed39992ccd62923f38e7796c

Contents?: true

Size: 492 Bytes

Versions: 5

Compression:

Stored size: 492 Bytes

Contents

require 'minitest'
require 'minitest/unit'
require 'minitest/autorun'
require 'minitest/pride'
require 'logster'
require 'redis'
require 'logster/base_store'

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

  # get, protect, unprotect: unimplemented
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
logster-0.1.5 test/test_helper.rb
logster-0.1.4 test/test_helper.rb
logster-0.1.3 test/test_helper.rb
logster-0.1.2 test/test_helper.rb
logster-0.1.1 test/test_helper.rb