Module: RSpec::Sidekiq

Defined in:
lib/rspec/sidekiq/batch.rb,
lib/rspec/sidekiq/sidekiq.rb,
lib/rspec/sidekiq/version.rb,
lib/rspec/sidekiq/configuration.rb,
lib/rspec/sidekiq/matchers/base.rb,
lib/rspec/sidekiq/matchers/be_unique.rb,
lib/rspec/sidekiq/matchers/be_delayed.rb,
lib/rspec/sidekiq/matchers/be_retryable.rb,
lib/rspec/sidekiq/matchers/be_expired_in.rb,
lib/rspec/sidekiq/matchers/save_backtrace.rb,
lib/rspec/sidekiq/matchers/be_processed_in.rb,
lib/rspec/sidekiq/matchers/enqueue_sidekiq_job.rb,
lib/rspec/sidekiq/matchers/have_enqueued_sidekiq_job.rb

Defined Under Namespace

Modules: Matchers Classes: Configuration, NullBatch, NullObject, NullStatus

Constant Summary collapse

VERSION =
"5.0.0"

Class Method Summary collapse

Class Method Details

.configurationObject



8
9
10
# File 'lib/rspec/sidekiq/sidekiq.rb', line 8

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



4
5
6
# File 'lib/rspec/sidekiq/sidekiq.rb', line 4

def configure(&block)
  yield configuration if block
end