diff options
author | Michael Kozono <mkozono@gmail.com> | 2018-01-09 12:09:18 -0800 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2018-01-09 12:09:18 -0800 |
commit | 48a018c608f3c3474c654ee78f82630e748655f5 (patch) | |
tree | 882bc9a01ffd943624eee123e88685a14e6e46e2 /spec/models/route_spec.rb | |
parent | a2cb92495c3149b69eb734596e80fbdd54b0b2dc (diff) | |
download | gitlab-ce-48a018c608f3c3474c654ee78f82630e748655f5.tar.gz |
Revert "Add test for permanent redirects of descendants"
This reverts commit a2cb92495c3149b69eb734596e80fbdd54b0b2dc.
Diffstat (limited to 'spec/models/route_spec.rb')
-rw-r--r-- | spec/models/route_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/models/route_spec.rb b/spec/models/route_spec.rb index f800e63ce48..2f141d96144 100644 --- a/spec/models/route_spec.rb +++ b/spec/models/route_spec.rb @@ -75,20 +75,6 @@ describe Route do end end end - - context 'when the group has a subgroup' do - let!(:subgroup) { create(:group, parent: group) } - - context 'when path was changed, and then changed back to the original' do - # Should this be valid? - it 'is valid' do - group.update!(path: 'git_lab2') - group.path = 'git_lab' - - expect(group.valid?).to be_truthy - end - end - end end end |