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

22 lines
448 B
Ruby
Raw Normal View History

ENV['RACK_ENV'] = ENV['RAILS_ENV'] = 'test'
if ENV.has_key?("SIMPLECOV")
2012-01-24 01:07:21 -05:00
require 'simplecov'
SimpleCov.start
end
2012-11-01 19:08:27 -04:00
begin
require 'pry'
rescue LoadError
end
2012-09-04 01:38:45 -04:00
2012-01-21 19:42:21 -05:00
require 'minitest/unit'
require 'minitest/pride'
require 'minitest/autorun'
require 'sidekiq'
require 'sidekiq/util'
Sidekiq.logger.level = Logger::ERROR
require 'sidekiq/redis_connection'
2012-04-03 23:50:09 -04:00
REDIS = Sidekiq::RedisConnection.create(:url => "redis://localhost/15", :namespace => 'testy')