Commit 0491df20 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove spec for legacy group issues route

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 28f7ae78
......@@ -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