mirror of
https://github.com/endofunky/sidetiq.git
synced 2022-11-09 13:53:30 -05:00
17 lines
326 B
Ruby
17 lines
326 B
Ruby
|
require 'simplecov'
|
||
|
SimpleCov.start { add_filter "/test/" }
|
||
|
require 'minitest/autorun'
|
||
|
require 'mocha/setup'
|
||
|
require 'sidetiq'
|
||
|
require 'sidekiq/testing'
|
||
|
|
||
|
# Stub out Clock#start! so we don't actually loop
|
||
|
module Sidetiq
|
||
|
class Clock
|
||
|
def start!; end
|
||
|
end
|
||
|
end
|
||
|
|
||
|
# Keep the test output clean
|
||
|
Sidekiq.logger = Logger.new(nil)
|