spec/private/path_spec.rb in usher-0.7.4 vs spec/private/path_spec.rb in usher-0.7.5

- old
+ new

@@ -43,15 +43,9 @@ route_set.delete_named_route(:route, '/bad/route', :controller => 'sample') route_set.route_count.should == 0 route_set.named_routes.size == 0 end - it "should calculate depths for nodes" do - route_set.add_named_route(:route, '/bad/route/three/four') - route_set.root.depth.should == 0 - route_set.root.normal['/'].depth.should == 1 - end - describe "merging paths" do before do @r1 = route_set.add_route("/foo/bar") @r2 = route_set.add_route("/other(/:baz)") @p1 = @r1.paths.first