Sha256: f530570130080510636629d892d00e4e122e3f53ebffd71122f265031a8cf33e
Contents?: true
Size: 366 Bytes
Versions: 8
Compression:
Stored size: 366 Bytes
Contents
# frozen_string_literal: true module SidekiqUniqueJobs class Config < OpenStruct def inline_testing_enabled? testing_enabled? && Sidekiq::Testing.inline? end def mocking? redis_test_mode.to_sym == :mock end def testing_enabled? Sidekiq.const_defined?(TESTING_CONSTANT, false) && Sidekiq::Testing.enabled? end end end
Version data entries
8 entries across 8 versions & 1 rubygems