summaryrefslogtreecommitdiff
path: root/spec/workers/pipeline_notification_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/pipeline_notification_worker_spec.rb')
-rw-r--r--spec/workers/pipeline_notification_worker_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/workers/pipeline_notification_worker_spec.rb b/spec/workers/pipeline_notification_worker_spec.rb
index 9a15864173c..583c4bf1c0c 100644
--- a/spec/workers/pipeline_notification_worker_spec.rb
+++ b/spec/workers/pipeline_notification_worker_spec.rb
@@ -20,5 +20,9 @@ RSpec.describe PipelineNotificationWorker, :mailer do
subject.perform(non_existing_record_id)
end
+
+ it_behaves_like 'worker with data consistency',
+ described_class,
+ data_consistency: :delayed
end
end