diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-19 15:09:09 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-19 15:09:09 +0000 |
commit | c7e385e282bcb8505589bce526e692b7bb819ffa (patch) | |
tree | 3e64affe1c2eebdcaa18cc6319b603f44b03b07e /spec/requests/groups | |
parent | cd3e2c7b9355f8990ab294b34b5e4add4f3985fa (diff) | |
download | gitlab-ce-c7e385e282bcb8505589bce526e692b7bb819ffa.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/groups')
-rw-r--r-- | spec/requests/groups/milestones_controller_spec.rb | 2 | ||||
-rw-r--r-- | spec/requests/groups/registry/repositories_controller_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/groups/milestones_controller_spec.rb b/spec/requests/groups/milestones_controller_spec.rb index 977cccad29f..4d15aa43cd2 100644 --- a/spec/requests/groups/milestones_controller_spec.rb +++ b/spec/requests/groups/milestones_controller_spec.rb @@ -24,7 +24,7 @@ describe Groups::MilestonesController do end expect { get "/groups/#{public_group.to_param}/-/milestones.json" }.not_to exceed_all_query_limit(control_count) - expect(response).to have_http_status(200) + expect(response).to have_gitlab_http_status(:ok) milestones = json_response expect(milestones.count).to eq(3) diff --git a/spec/requests/groups/registry/repositories_controller_spec.rb b/spec/requests/groups/registry/repositories_controller_spec.rb index 35fdeaab604..25bd7aa862e 100644 --- a/spec/requests/groups/registry/repositories_controller_spec.rb +++ b/spec/requests/groups/registry/repositories_controller_spec.rb @@ -28,7 +28,7 @@ describe Groups::Registry::RepositoriesController do expect { get(endpoint) }.not_to exceed_all_query_limit(control_count) # sanity check that response is 200 - expect(response).to have_http_status(200) + expect(response).to have_gitlab_http_status(:ok) repositories = json_response expect(repositories.count).to eq(5) end |