diff options
author | sliaquat <sliaquat@gitlab.com> | 2018-08-16 16:40:03 +0500 |
---|---|---|
committer | sliaquat <sliaquat@gitlab.com> | 2018-08-16 16:40:03 +0500 |
commit | 4157073068ceffb25ee8d9b2401467c1dfd60da2 (patch) | |
tree | d124218973b5657728b425593910526db9a57cb3 /spec/support | |
parent | ce18246c24040444646884a6a13e472ae83f74ee (diff) | |
download | gitlab-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.rb | 8 |
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) |