Module: SidekiqUniqueJobs::RSpec::Matchers
- Defined in:
- lib/sidekiq_unique_jobs/rspec/matchers.rb,
lib/sidekiq_unique_jobs/rspec/matchers/have_valid_sidekiq_options.rb
Overview
Module Matchers provides RSpec matcher for your workers
Defined Under Namespace
Classes: HaveValidSidekiqOptions
Instance Method Summary collapse
-
#have_valid_sidekiq_options(*args) ⇒ HaveValidSidekiqOptions
RSpec matcher method for validating that a sidekiq worker has valid unique/lock configuration.
Instance Method Details
#have_valid_sidekiq_options(*args) ⇒ HaveValidSidekiqOptions
RSpec matcher method for validating that a sidekiq worker has valid unique/lock configuration
46 47 48 |
# File 'lib/sidekiq_unique_jobs/rspec/matchers/have_valid_sidekiq_options.rb', line 46 def (*args) # rubocop:disable Naming/PredicateName HaveValidSidekiqOptions.new(*args) end |