diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-04-06 22:03:24 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-04-06 22:03:24 +0300 |
commit | dc3272dccbf2462ad8a7ee8f677086ffabae3afb (patch) | |
tree | 0a3c096f3b58e60c4b9618bc6e86e81985cddf3b /spec/requests/api/tags_spec.rb | |
parent | 77e178b5e13633090307afa915eea50927fdabda (diff) |
Revert "API: Ability to retrieve a single tag"
This reverts commit 7f287c9136d5d1cdda8df170c6e772ca82aad1e9.
Diffstat (limited to 'spec/requests/api/tags_spec.rb')
-rw-r--r-- | spec/requests/api/tags_spec.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/requests/api/tags_spec.rb b/spec/requests/api/tags_spec.rb index acbd9c3e332..a15be07ed57 100644 --- a/spec/requests/api/tags_spec.rb +++ b/spec/requests/api/tags_spec.rb @@ -40,23 +40,6 @@ describe API::API, api: true do end end - describe "GET /projects/:id/repository/tags/:tag_name" do - let(:tag_name) { project.repository.tag_names.sort.reverse.first } - - it 'should return a specific tag' do - get api("/projects/#{project.id}/repository/tags/#{tag_name}", user) - - expect(response.status).to eq(200) - expect(json_response['name']).to eq(tag_name) - end - - it 'should return 404 for an invalid tag name' do - get api("/projects/#{project.id}/repository/tags/foobar", user) - - expect(response.status).to eq(404) - end - end - describe 'POST /projects/:id/repository/tags' do context 'lightweight tags' do it 'should create a new tag' do |