summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/requests/api/issuable_participants_examples.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/shared_examples/requests/api/issuable_participants_examples.rb')
-rw-r--r--spec/support/shared_examples/requests/api/issuable_participants_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_examples/requests/api/issuable_participants_examples.rb b/spec/support/shared_examples/requests/api/issuable_participants_examples.rb
index e442b988349..673d7741017 100644
--- a/spec/support/shared_examples/requests/api/issuable_participants_examples.rb
+++ b/spec/support/shared_examples/requests/api/issuable_participants_examples.rb
@@ -18,7 +18,7 @@ RSpec.shared_examples 'issuable participants endpoint' do
end
it 'returns a 404 when iid does not exist' do
- get api("/projects/#{project.id}/#{area}/999/participants", user)
+ get api("/projects/#{project.id}/#{area}/#{non_existing_record_iid}/participants", user)
expect(response).to have_gitlab_http_status(:not_found)
end