Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-10-01 11:43:46 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2018-10-01 12:59:48 +0300
commit18324261097de835628570696594f749e48d3747 (patch)
treecd2c3bd63c6d028ccc7232018cc4abcae869bf90 /spec/views
parent272e1482d6f96a9c139ddc6e3ab3e2d634184d4c (diff)
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')
-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