diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-17 15:09:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-17 15:09:52 +0300 |
commit | 8ae26d705abe341b03bc15d4373d6cd0c77c0baf (patch) | |
tree | 655ee03a968e340c975b8ab7d77cfd5ceaf3c969 /spec/support/shared_examples | |
parent | fc1df8c8307fc5022f9e8aae04164c089d8fdf2e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/shared_examples')
-rw-r--r-- | spec/support/shared_examples/workers/idempotency_shared_examples.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/shared_examples/workers/idempotency_shared_examples.rb b/spec/support/shared_examples/workers/idempotency_shared_examples.rb index 19be1fe2c9d..9d9b371d61a 100644 --- a/spec/support/shared_examples/workers/idempotency_shared_examples.rb +++ b/spec/support/shared_examples/workers/idempotency_shared_examples.rb @@ -16,6 +16,8 @@ # end # RSpec.shared_examples 'an idempotent worker' do + let(:worker_exec_times) { IdempotentWorkerHelper::WORKER_EXEC_TIMES } + # Avoid stubbing calls for a more accurate run. subject do defined?(job_args) ? perform_multiple(job_args) : perform_multiple |