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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-27 15:10:44 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-27 15:10:44 +0300
commita4068557f4e8f0622798ccf824ac314e2008a57b (patch)
treea3ddbb6c902828009c0e02813339abe88cae9d60 /spec/views/layouts
parentd0a683e342c9e59bec8bb83879f0fc959b79224e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views/layouts')
-rw-r--r--spec/views/layouts/header/_new_dropdown.haml_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/views/layouts/header/_new_dropdown.haml_spec.rb b/spec/views/layouts/header/_new_dropdown.haml_spec.rb
index 208da345e7f..79c22871b44 100644
--- a/spec/views/layouts/header/_new_dropdown.haml_spec.rb
+++ b/spec/views/layouts/header/_new_dropdown.haml_spec.rb
@@ -40,7 +40,10 @@ RSpec.describe 'layouts/header/_new_dropdown' do
it 'has a "New subgroup" link' do
render
- expect(rendered).to have_link('New subgroup', href: new_group_path(parent_id: group.id))
+ expect(rendered).to have_link(
+ 'New subgroup',
+ href: new_group_path(parent_id: group.id, anchor: 'create-group-pane')
+ )
end
end