test/spec_rack_urlmap.rb in rack-0.1.0 vs test/spec_rack_urlmap.rb in rack-0.2.0

- old
+ new

@@ -15,17 +15,11 @@ "/bar" => lambda { |env| [200, { "Content-Type" => "text/plain", "X-Position" => "/bar", "X-PathInfo" => env["PATH_INFO"], - }, [""]]}, - - "/foo/bar" => lambda { |env| - [200, - { "Content-Type" => "text/plain", - "X-Position" => "/foo/bar", - "X-PathInfo" => env["PATH_INFO"], }, [""]]} + ) Rack::MockRequest.new(map).get("/").should.be.not_found