Sha256: 3cd626685690814ccaf4559a5d80546fb04887a86ba4569b8474ee394b6d1a86

Contents?: true

Size: 238 Bytes

Versions: 18

Compression:

Stored size: 238 Bytes

Contents

# frozen_string_literal: true

require "sidekiq/throttled/registry"

RSpec.configure do |config|
  config.before :example do
    Sidekiq::Throttled::Registry.instance_eval do
      @strategies.clear
      @aliases.clear
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
sidekiq-throttled-0.15.1 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.18.0 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.17.0 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.16.2 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.16.1 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.16.0 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.15.0 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.14.1 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.13.0 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.12.0 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.11.0 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.10.0 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.10.0.beta lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.10.0.alpha lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.9.0 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.8.2 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.8.1 lib/sidekiq/throttled/testing.rb
sidekiq-throttled-0.8.0 lib/sidekiq/throttled/testing.rb