mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-15 21:39:00 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -46,8 +46,8 @@ specific to the worker in the shared examples block.
|
||||
```ruby
|
||||
it_behaves_like 'an idempotent worker' do
|
||||
it 'checks the side-effects for multiple calls' do
|
||||
# `subject` will call the job's perform method 2 times
|
||||
subject
|
||||
# `perform_idempotent_work` will call the job's perform method 2 times
|
||||
perform_idempotent_work
|
||||
|
||||
expect(model.state).to eq('state')
|
||||
end
|
||||
|
Reference in New Issue
Block a user