Sha256: d583db4a8d3fad78ad96441027ab7bb17bd1695329ad4913c54c373528ec4b04
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
require 'sidekiq' require 'sidekiq/testing' require 'mock_redis' # Disable Sidekiq's testing mocks and use MockRedis instead Sidekiq::Testing.disable! Sidekiq.configure_server do |config| config.redis = ConnectionPool.new(size: 1) { MockRedis.new } end Sidekiq.configure_client do |config| config.client_middleware do |chain| chain.add Sidekiq::Debounce end config.redis = ConnectionPool.new(size: 1) { MockRedis.new } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-debounce-1.1.0 | spec/sidekiq_helper.rb |