mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
18 lines
419 B
Ruby
18 lines
419 B
Ruby
ENV['RACK_ENV'] = ENV['RAILS_ENV'] = 'test'
|
|
if ENV.has_key?("SIMPLECOV")
|
|
require 'simplecov'
|
|
SimpleCov.start
|
|
end
|
|
|
|
require 'pry'
|
|
|
|
require 'minitest/unit'
|
|
require 'minitest/pride'
|
|
require 'minitest/autorun'
|
|
|
|
require 'sidekiq'
|
|
require 'sidekiq/util'
|
|
Sidekiq.logger.level = Logger::ERROR
|
|
|
|
require 'sidekiq/redis_connection'
|
|
REDIS = Sidekiq::RedisConnection.create(:url => "redis://localhost/15", :namespace => 'testy')
|