Skip to content

Commit

Permalink
debugging for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbuddy committed Sep 10, 2011
1 parent 6d93fe8 commit e15d721
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_misc.rb
Expand Up @@ -99,6 +99,7 @@ def test_to_s_and_inspect
router.add('/').to(:test)
router.add('/test').to(:test2)
router.post('/test').to(:test3)
p router.to_s
assert router.to_s.match(/^#<HttpRouter:0x[0-9a-f]+ number of routes \(3\) ignore_trailing_slash\? \(true\) redirect_trailing_slash\? \(false\) known_methods \(POST\)>$/)
assert router.inspect.match(/^#<HttpRouter:0x[0-9a-f]+ number of routes \(3\) ignore_trailing_slash\? \(true\) redirect_trailing_slash\? \(false\) known_methods \(POST\)>/)
assert router.inspect.match(/Path: "\/test" for route unnamed route to :test3/)
Expand Down

0 comments on commit e15d721

Please sign in to comment.