Sha256: 5f64394751b5d4a10b676efc591df61a12d23fdc0c33e6e3d3a859ad9fac6437

Contents?: true

Size: 449 Bytes

Versions: 4

Compression:

Stored size: 449 Bytes

Contents

require 'simplecov'
SimpleCov.start { add_filter "/test/" }

require 'minitest/autorun'
require 'mocha/setup'
require 'rack/test'

require 'sidekiq'
require 'sidekiq/testing'

require 'sidetiq'
require 'sidetiq/web'

# Keep the test output clean
Sidekiq.logger = Logger.new(nil)

class Sidetiq::TestCase < MiniTest::Unit::TestCase
  def setup
    Sidekiq.redis { |r| r.flushall }
  end

  def clock
    @clock ||= Sidetiq::Clock.instance
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sidetiq-0.1.5 test/helper.rb
sidetiq-0.1.4 test/helper.rb
sidetiq-0.1.3 test/helper.rb
sidetiq-0.1.2 test/helper.rb