Remove not necessary specs
This commit is contained in:
parent
74459e0c36
commit
95197ee3d1
2 changed files with 0 additions and 8 deletions
|
@ -1767,10 +1767,6 @@ describe Project, models: true do
|
|||
let!(:project3) { create(:empty_project, namespace: create(:namespace, path: 'namespace')) }
|
||||
let!(:path) { project1.namespace.full_path }
|
||||
|
||||
it 'returns 1 project' do
|
||||
expect(Project.inside_path(path).count).to eq(1)
|
||||
end
|
||||
|
||||
it 'returns correct project' do
|
||||
expect(Project.inside_path(path)).to eq([project1])
|
||||
end
|
||||
|
|
|
@ -21,10 +21,6 @@ describe Route, models: true do
|
|||
let!(:similar_group) { create(:group, path: 'gitllab') }
|
||||
let!(:another_group_nested) { create(:group, path: 'another', name: 'another', parent: similar_group) }
|
||||
|
||||
it 'returns 2 routes' do
|
||||
expect(Route.inside_path('git_lab').count).to eq(2)
|
||||
end
|
||||
|
||||
it 'returns correct routes' do
|
||||
expect(Route.inside_path('git_lab')).to match_array([nested_group.route, deep_nested_group.route])
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue