summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/api/users_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/specs/features/api/users_spec.rb')
-rw-r--r--qa/qa/specs/features/api/users_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/specs/features/api/users_spec.rb b/qa/qa/specs/features/api/users_spec.rb
index f32ac674d7a..5577384a28d 100644
--- a/qa/qa/specs/features/api/users_spec.rb
+++ b/qa/qa/specs/features/api/users_spec.rb
@@ -9,7 +9,7 @@ module QA
context "when authenticated" do
scenario 'get list of users' do
- response, json = Runtime::API.get(:gitlab, api('/users', personal_access_token: @access_token))
+ response, _json = Runtime::API.get(:gitlab, api('/users', personal_access_token: @access_token))
expect(response).to have_gitlab_api_status(200)
end
@@ -24,7 +24,7 @@ module QA
end
scenario "returns authorization error when token is invalid" do
- response, json = Runtime::API.get(:gitlab, api('/users', personal_access_token: 'invalid'))
+ response, _json = Runtime::API.get(:gitlab, api('/users', personal_access_token: 'invalid'))
expect(response).to have_gitlab_api_status(401)
end