summaryrefslogtreecommitdiff
path: root/spec/views/admin/dashboard/index.html.haml_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-22 12:10:04 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-22 12:10:04 +0000
commitcb8bd7d5946ca50a2de99645687a633a0c8105be (patch)
treea327e4da74f2a2d050a6971e0e03d41e5b0c5780 /spec/views/admin/dashboard/index.html.haml_spec.rb
parent8e0dafbb6665d431f7f1b635c0f7c4a5c61bc325 (diff)
downloadgitlab-ce-cb8bd7d5946ca50a2de99645687a633a0c8105be.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views/admin/dashboard/index.html.haml_spec.rb')
-rw-r--r--spec/views/admin/dashboard/index.html.haml_spec.rb8
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