Sha256: afab7831d02f3181e101d16b127f91cc84f01c52ef4efca2a5ab760f1be9a4e3

Contents?: true

Size: 715 Bytes

Versions: 6

Compression:

Stored size: 715 Bytes

Contents

$TESTING = true
require 'coveralls'
Coveralls.wear! do
  add_filter "/test/"
end

ENV['RACK_ENV'] = ENV['RAILS_ENV'] = 'test'
if ENV.has_key?("SIMPLECOV")
  require 'simplecov'
  SimpleCov.start do
    add_filter "/test/"
  end
end

begin
  require 'pry'
rescue LoadError
end

require 'minitest/autorun'
require 'minitest/pride'

require 'celluloid/autostart'
require 'sidekiq'
require 'sidekiq/util'
Sidekiq.logger.level = Logger::ERROR

require 'sidekiq/redis_connection'
redis_url = ENV['REDIS_URL'] || 'redis://localhost/15'
REDIS = Sidekiq::RedisConnection.create(:url => redis_url, :namespace => 'testy')

Sidekiq.configure_client do |config|
  config.redis = { :url => redis_url, :namespace => 'testy' }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sidekiq-2.14.1 test/helper.rb
sidekiq-2.14.0 test/helper.rb
sidekiq-2.13.1 test/helper.rb
sidekiq-2.13.0 test/helper.rb
sidekiq-2.12.4 test/helper.rb
sidekiq-2.12.3 test/helper.rb