diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-28 15:10:21 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-28 15:10:21 +0000 |
commit | c41b66bd0510571d6a426ec6c701278ecd79b683 (patch) | |
tree | caa800f1d461aec59ff9b733058ef56ed9856769 /spec/helpers/clusters_helper_spec.rb | |
parent | 9f8061811b2ab29fc6e48a8845eaf531b40d037a (diff) | |
download | gitlab-ce-c41b66bd0510571d6a426ec6c701278ecd79b683.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers/clusters_helper_spec.rb')
-rw-r--r-- | spec/helpers/clusters_helper_spec.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/spec/helpers/clusters_helper_spec.rb b/spec/helpers/clusters_helper_spec.rb index dff83005c89..6164f3b5e8d 100644 --- a/spec/helpers/clusters_helper_spec.rb +++ b/spec/helpers/clusters_helper_spec.rb @@ -77,7 +77,15 @@ RSpec.describe ClustersHelper do end it 'displays and ancestor_help_path' do - expect(subject[:ancestor_help_path]).to eq('/help/user/group/clusters/index#cluster-precedence') + expect(subject[:ancestor_help_path]).to eq(help_page_path('user/group/clusters/index', anchor: 'cluster-precedence')) + end + end + + describe '#js_cluster_new' do + subject { helper.js_cluster_new } + + it 'displays a cluster_connect_help_path' do + expect(subject[:cluster_connect_help_path]).to eq(help_page_path('user/project/clusters/add_remove_clusters', anchor: 'add-existing-cluster')) end end |