spec/private/sinatra/recognize_spec.rb in usher-0.7.4 vs spec/private/sinatra/recognize_spec.rb in usher-0.7.5

- old
+ new

@@ -115,26 +115,6 @@ response.status.should == 404 response.body.should_not match(/__sinatra__/) end end - describe "recognize paths" do - - it "should recognize basic routes" do - pending "undefined method `request_method' for nil:NilClass" - @app.get("/foo/:bar") { "foo" } - @app.router.recognize_path("/foo/:bar").should == nil - end - end - - describe "priority" do - - it "should set correctly priorities" do - pending "match the wrong route" - @app.get("/:id/:right", :priority => 10) { "right" } - @app.get("/:id/:wrong") { "wrong" } - response = @app.call_with_mock_request('/foo/bar') - response.status.should == 200 - response.body.should == "right" - end - end end \ No newline at end of file