diff options
Diffstat (limited to 'spec/workers/bulk_imports/entity_worker_spec.rb')
-rw-r--r-- | spec/workers/bulk_imports/entity_worker_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/workers/bulk_imports/entity_worker_spec.rb b/spec/workers/bulk_imports/entity_worker_spec.rb index 5f948906c08..5902ca87a17 100644 --- a/spec/workers/bulk_imports/entity_worker_spec.rb +++ b/spec/workers/bulk_imports/entity_worker_spec.rb @@ -49,6 +49,10 @@ RSpec.describe BulkImports::EntityWorker, feature_category: :importers do end end + it 'has the option to reschedule once if deduplicated' do + expect(described_class.get_deduplication_options).to include({ if_deduplicated: :reschedule_once }) + end + context 'when pipeline workers from a stage are running' do before do pipeline_tracker.enqueue! |