From 554c10e7b5b8adeba0922c73d526d3413c82347d Mon Sep 17 00:00:00 2001 From: evanweaver Date: Sun, 21 Oct 2007 03:00:43 +0000 Subject: spelling fixes git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@712 19e92222-5c0b-0410-8929-a290d50e31e9 --- test/test_uriclassifier.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/test_uriclassifier.rb b/test/test_uriclassifier.rb index 0075990..f222992 100644 --- a/test/test_uriclassifier.rb +++ b/test/test_uriclassifier.rb @@ -117,7 +117,7 @@ class URIClassifierTest < Test::Unit::TestCase uri_classifier.register(current, c) end - # try to resolve everything with no asserts as a fuzzing + # Try to resolve everything with no asserts as a fuzzing tests.each do |prefix| current = "" prefix.each_byte do |c| @@ -129,13 +129,13 @@ class URIClassifierTest < Test::Unit::TestCase end end - # assert that we find stuff + # Assert that we find stuff tests.each do |t| script_name, path_info, handler = uri_classifier.resolve(t) assert handler end - # assert we don't find stuff + # Assert we don't find stuff script_name, path_info, handler = uri_classifier.resolve("chicken") assert_nil handler assert_nil script_name @@ -145,7 +145,7 @@ class URIClassifierTest < Test::Unit::TestCase # Verifies that a root mounted ("/") handler resolves # such that path info matches the original URI. - # This is needed to accomodate real usage of handlers. + # This is needed to accommodate real usage of handlers. def test_root_mounted uri_classifier = URIClassifier.new root = "/" @@ -166,7 +166,7 @@ class URIClassifierTest < Test::Unit::TestCase # Verifies that a root mounted ("/") handler # is the default point, doesn't matter the order we use - # to resgister the URIs + # to register the URIs def test_classifier_order tests = ["/before", "/way_past"] root = "/" -- cgit v1.2.3-24-ge0c7