Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarka Kadlecova <jarka@gitlab.com>2017-03-22 14:16:19 +0300
committerJarka Kadlecova <jarka@gitlab.com>2017-03-22 14:16:19 +0300
commit95197ee3d1cf3b2058d8ff2b5fae04e1007cef9c (patch)
tree555bd004ab3129a7b91a26ffe601c061cf7d3d85 /spec/models/route_spec.rb
parent74459e0c3696f0bae1095604c2c4f35aa35ee043 (diff)
Remove not necessary specs
Diffstat (limited to 'spec/models/route_spec.rb')
-rw-r--r--spec/models/route_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/models/route_spec.rb b/spec/models/route_spec.rb
index 05afd9f5b5a..171a51fcc5b 100644
--- a/spec/models/route_spec.rb
+++ b/spec/models/route_spec.rb
@@ -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