Commit df51a800 authored by Stan Hu's avatar Stan Hu

Merge branch 'rs-fix-master' into 'master'

Add `:nested_groups` metadata to two subgroup-related specs

Closes #36811 and #36812

See merge request !13746
parents f7dd0468 800c9bf3
...@@ -74,7 +74,7 @@ feature 'Top Plus Menu', :js do ...@@ -74,7 +74,7 @@ feature 'Top Plus Menu', :js do
expect(page).to have_content('Title') expect(page).to have_content('Title')
end end
scenario 'Click on New subgroup shows new group page' do scenario 'Click on New subgroup shows new group page', :nested_groups do
visit group_path(group) visit group_path(group)
click_topmenuitem("New subgroup") click_topmenuitem("New subgroup")
......
...@@ -22,7 +22,7 @@ describe Groups::CreateService, '#execute' do ...@@ -22,7 +22,7 @@ describe Groups::CreateService, '#execute' do
end end
end end
describe 'creating subgroup' do describe 'creating subgroup', :nested_groups do
let!(:group) { create(:group) } let!(:group) { create(:group) }
let!(:service) { described_class.new(user, group_params.merge(parent_id: group.id)) } let!(:service) { described_class.new(user, group_params.merge(parent_id: group.id)) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment