diff options
Diffstat (limited to 'spec/views/admin/dashboard/index.html.haml_spec.rb')
-rw-r--r-- | spec/views/admin/dashboard/index.html.haml_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/views/admin/dashboard/index.html.haml_spec.rb b/spec/views/admin/dashboard/index.html.haml_spec.rb index 43a6fcc2adc..9fa95613d1c 100644 --- a/spec/views/admin/dashboard/index.html.haml_spec.rb +++ b/spec/views/admin/dashboard/index.html.haml_spec.rb @@ -52,4 +52,12 @@ RSpec.describe 'admin/dashboard/index.html.haml' do expect(rendered).not_to have_content "Maximum Users" expect(rendered).not_to have_content "Users over License" end + + it 'links to the GitLab Changelog' do + stub_application_setting(version_check_enabled: true) + + render + + expect(rendered).to have_link(href: 'https://gitlab.com/gitlab-org/gitlab/-/blob/master/CHANGELOG.md') + end end |