Sha256: 519f5b9f00841d52b2a87797ceefb9a762dc7cfa67e673fa34ce24687e4ccf98

Contents?: true

Size: 247 Bytes

Versions: 5

Compression:

Stored size: 247 Bytes

Contents

module SidekiqUniqueJobs
  module Connectors
    class Testing
      def self.conn(_redis_pool = nil)
        return unless SidekiqUniqueJobs.config.testing_enabled?
        SidekiqUniqueJobs.redis_mock { |conn| conn }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-3.0.10 lib/sidekiq_unique_jobs/connectors/testing.rb
sidekiq-unique-jobs-3.0.9 lib/sidekiq_unique_jobs/connectors/testing.rb
sidekiq-unique-jobs-3.0.8 lib/sidekiq_unique_jobs/connectors/testing.rb
sidekiq-unique-jobs-3.0.7 lib/sidekiq_unique_jobs/connectors/testing.rb
sidekiq-unique-jobs-3.0.5 lib/sidekiq_unique_jobs/connectors/testing.rb