diff options
author | Toon Claes <toon@gitlab.com> | 2017-06-08 16:43:06 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-06-09 11:35:42 +0300 |
commit | 7188b4d83989dcfcc672f88e19d1ddb550b4917a (patch) | |
tree | 2a98da2b57e9d167c1aa137070b7856924f67f8a /spec/views | |
parent | 4a22895492fd7e9111f11b6659c31b509995721c (diff) |
Make the revision on the `/help` page clickable
For quicker access, add hyperlink to the gitlab.com commits page for the current
REVISION of GitLab.
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/help/index.html.haml_spec.rb | 2 |
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 6b07fcfc987..1f8261cc46b 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 match 'abcdefg' + expect(rendered).to have_link('abcdefg', 'https://gitlab.com/gitlab-org/gitlab-ce/commits/abcdefg') end end |