summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorsliaquat <sliaquat@gitlab.com>2018-08-16 16:40:03 +0500
committersliaquat <sliaquat@gitlab.com>2018-08-16 16:40:03 +0500
commit4157073068ceffb25ee8d9b2401467c1dfd60da2 (patch)
treed124218973b5657728b425593910526db9a57cb3 /spec/support
parentce18246c24040444646884a6a13e472ae83f74ee (diff)
downloadgitlab-ce-4157073068ceffb25ee8d9b2401467c1dfd60da2.tar.gz
Remove some duplicate tests and fix some typosqa-314-project-tests-cleanup
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/api/milestones_shared_examples.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/support/api/milestones_shared_examples.rb b/spec/support/api/milestones_shared_examples.rb
index a15189db35f..afd6448aa26 100644
--- a/spec/support/api/milestones_shared_examples.rb
+++ b/spec/support/api/milestones_shared_examples.rb
@@ -102,14 +102,6 @@ shared_examples_for 'group and project milestones' do |route_definition|
expect(json_response['iid']).to eq(milestone.iid)
end
- it 'returns a milestone by id' do
- get api(resource_route, user)
-
- expect(response).to have_gitlab_http_status(200)
- expect(json_response['title']).to eq(milestone.title)
- expect(json_response['iid']).to eq(milestone.iid)
- end
-
it 'returns 401 error if user not authenticated' do
get api(resource_route)