You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Gem Version 'sidekiq-unique-jobs', '= 5.0.10'
As per the readme, trying to validate options using rspec.
#spec/workers/contacts_communication_info_spec.rb
require 'spec_helper'
require "sidekiq_unique_jobs/testing"
RSpec.describe Contacts::CommunicationInfo do
specify { expect(described_class).to have_valid_sidekiq_options }
end
Expected behavior
Expected Contacts::CommunicationInfo to have valid sidekiq options but found the following problems
Current behavior
Contacts::CommunicationInfo is expected to have valid sidekiq options
Failure/Error: specify { expect(described_class).to have_valid_sidekiq_options }
expected Contacts::CommunicationInfo to respond to `has_valid_sidekiq_options?`
Worker class
moduleContacts# Worker to call interactor for CommunicationInfo updateclassCommunicationInfoincludeSidekiq::Workersidekiq_optionsunique_across_queues: true,queue: 'api_p1',lock: :while_executing,on_conflict: :logdefperform(contact_id,changed_keys);endend
The text was updated successfully, but these errors were encountered:
Describe the bug
Gem Version
'sidekiq-unique-jobs', '= 5.0.10'
As per the readme, trying to validate options using rspec.
Expected behavior
Expected
Contacts::CommunicationInfo
to have valid sidekiq options but found the following problemsCurrent behavior
Worker class
The text was updated successfully, but these errors were encountered: