summaryrefslogtreecommitdiff
path: root/spec/views/help/index.html.haml_spec.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-10-01 10:43:46 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2018-10-01 11:59:48 +0200
commit18324261097de835628570696594f749e48d3747 (patch)
treecd2c3bd63c6d028ccc7232018cc4abcae869bf90 /spec/views/help/index.html.haml_spec.rb
parent272e1482d6f96a9c139ddc6e3ab3e2d634184d4c (diff)
downloadgitlab-ce-18324261097de835628570696594f749e48d3747.tar.gz
Link to the tag from a version instead of commit
This will result in a 404 when running an unreleased security patch while still allowing users to find the commit when it is made available.
Diffstat (limited to 'spec/views/help/index.html.haml_spec.rb')
-rw-r--r--spec/views/help/index.html.haml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/help/index.html.haml_spec.rb b/spec/views/help/index.html.haml_spec.rb
index 4b4de540d9e..c8c9c4e773d 100644
--- a/spec/views/help/index.html.haml_spec.rb
+++ b/spec/views/help/index.html.haml_spec.rb
@@ -21,7 +21,7 @@ describe 'help/index' do
render
expect(rendered).to match '8.0.2'
- expect(rendered).to have_link('abcdefg', href: 'https://gitlab.com/gitlab-org/gitlab-ce/commits/abcdefg')
+ expect(rendered).to have_link('8.0.2', href: 'https://gitlab.com/gitlab-org/gitlab-ce/tags/v8.0.2')
end
end