Commit 5bff14ff authored by Sean McGivern's avatar Sean McGivern

Merge branch...

Merge branch '12249-broken-master-group-routing-routing-legacy-redirection-multiple-redirects-redirects-when-the-nested-group-does-not-exist' into 'master'

Resolve "Broken master: Group routing routing legacy redirection multiple redirects redirects when the nested group does not exist"

Closes #12249

See merge request gitlab-org/gitlab-ee!14255
parents 20ff6d98 0491df20
......@@ -45,13 +45,6 @@ describe 'Group routing', "routing" do
.to redirect_to('/groups/complex.group-namegit/-/boards/issues')
end
it 'redirects when the nested group does not exist' do
create(:group, path: 'boards', parent: parent)
expect(get('/groups/complex.group-namegit/boards/issues/'))
.to redirect_to('/groups/complex.group-namegit/boards/-/issues')
end
it 'does not redirect when the nested group exists' do
boards_group = create(:group, path: 'boards', parent: parent)
create(:group, path: 'issues', parent: boards_group)
......
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