Commit 43bbe885 authored by nmilojevic1's avatar nmilojevic1

Added specs for idempotent worker

parent 70974d52
...@@ -13,6 +13,8 @@ RSpec.describe ExpireJobCacheWorker do ...@@ -13,6 +13,8 @@ RSpec.describe ExpireJobCacheWorker do
let(:job_args) { job.id } let(:job_args) { job.id }
it_behaves_like 'an idempotent worker'
it_behaves_like 'worker with data consistency', it_behaves_like 'worker with data consistency',
described_class, described_class,
data_consistency: :delayed data_consistency: :delayed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment