1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/test/helper.rb
2012-04-03 20:50:09 -07:00

15 lines
366 B
Ruby

if ENV.has_key?("SIMPLECOV")
require 'simplecov'
SimpleCov.start
end
require 'minitest/unit'
require 'minitest/pride'
require 'minitest/autorun'
require 'sidekiq'
require 'sidekiq/util'
Sidekiq::Util.logger.level = Logger::ERROR
require 'sidekiq/redis_connection'
REDIS = Sidekiq::RedisConnection.create(:url => "redis://localhost/15", :namespace => 'testy')