Sha256: 86addeddc4feca1021be9d195b18c5b77c2a77f3d3582d8d51b817b1d9464835
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
if ENV["COVERAGE"] require 'simplecov' SimpleCov.start { add_filter "/test/" } end 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidetiq-0.2.0 | test/helper.rb |