diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-07 21:07:54 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-07 21:07:54 +0000 |
commit | 8c8b94e7116fa478ad490bd14c09565d23097f57 (patch) | |
tree | 9e4637aa0fe498a5523c86932b87ff691ec72af6 /spec/views/projects | |
parent | eadb77d89f5f7d445bfd326f18873168f4719f12 (diff) | |
download | gitlab-ce-8c8b94e7116fa478ad490bd14c09565d23097f57.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views/projects')
-rw-r--r-- | spec/views/projects/tags/index.html.haml_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/views/projects/tags/index.html.haml_spec.rb b/spec/views/projects/tags/index.html.haml_spec.rb index 34355e27544..7e372ae8d6d 100644 --- a/spec/views/projects/tags/index.html.haml_spec.rb +++ b/spec/views/projects/tags/index.html.haml_spec.rb @@ -23,6 +23,11 @@ describe 'projects/tags/index' do expect(rendered).to have_button('Last updated') end + it 'renders links to the Releases page for tags associated with a release' do + render + expect(rendered).to have_link(release.name, href: project_releases_path(project, anchor: release.tag)) + end + context 'when the most recent build for a tag has artifacts' do let!(:build) { create(:ci_build, :success, :artifacts, pipeline: pipeline) } |