Skip to content
Browse files

debugging for travis

  • Loading branch information...
1 parent 6d93fe8 commit e15d721f5efed5cf00a3819814c0edbb359289c4 @joshbuddy committed Sep 10, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/test_misc.rb
View
1 test/test_misc.rb
@@ -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/)

0 comments on commit e15d721

Please sign in to comment.
Something went wrong with that request. Please try again.