Displaying 1 result from an estimated 1 matches for "way_past".
2007 Apr 20
2
order of registering uri''s matters for URIClassifier ?
...ongrel''
include Mongrel
class URIClassifierText < Test::Unit::TestCase
def test_classifier_order
u = URIClassifier.new
root = "/"
path = "/path"
u.register(path,1)
u.register(root,2)
["/before", "/way_past"].each do |uri|
sn,pi,h = u.resolve(uri)
assert_equal root,sn
assert_equal uri, pi
assert_equal 2,h
end
end
end