diff options
Diffstat (limited to 'actionpack/test/controller/routing_test.rb')
-rw-r--r-- | actionpack/test/controller/routing_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb index e784244c88..8f3709de3d 100644 --- a/actionpack/test/controller/routing_test.rb +++ b/actionpack/test/controller/routing_test.rb @@ -882,14 +882,14 @@ class DynamicSegmentTest < Test::Unit::TestCase end def test_build_pattern_non_optional_with_no_captures - # Non optioanl + # Non optional a_segment = ROUTING::DynamicSegment.new a_segment.regexp = /\d+/ #number_of_captures is 0 assert_equal "(\\d+)stuff", a_segment.build_pattern('stuff') end def test_build_pattern_non_optional_with_captures - # Non optioanl + # Non optional a_segment = ROUTING::DynamicSegment.new a_segment.regexp = /(\d+)(.*?)/ #number_of_captures is 2 assert_equal "((\\d+)(.*?))stuff", a_segment.build_pattern('stuff') |