Sha256: 8bdffee3bb360dbeb2e0e6a2741b70ef8d2b8f88cdcf08a90146ed132f7f397d
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 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.redis = ConnectionPool.new(size: 1) { MockRedis.new } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-debounce-1.0.2 | spec/sidekiq_helper.rb |
sidekiq-debounce-1.0.1 | spec/sidekiq_helper.rb |
sidekiq-debounce-1.0.0 | spec/sidekiq_helper.rb |