Sha256: edd2d0c7930def2c8faffe113ca6d81de0fd6497dcde898acea3ad9f8833a26f

Contents?: true

Size: 263 Bytes

Versions: 3

Compression:

Stored size: 263 Bytes

Contents

module SidekiqUniqueJobs
  module Connectors
    class Testing
      def self.connection(_redis_pool = nil)
        return unless SidekiqUniqueJobs.config.inline_testing_enabled?
        yield SidekiqUniqueJobs.redis_mock
        true
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-3.0.14 lib/sidekiq_unique_jobs/connectors/testing.rb
sidekiq-unique-jobs-3.0.13 lib/sidekiq_unique_jobs/connectors/testing.rb
sidekiq-unique-jobs-3.0.12 lib/sidekiq_unique_jobs/connectors/testing.rb