Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

debugging for travis

  • Loading branch information...
commit e15d721f5efed5cf00a3819814c0edbb359289c4 1 parent 6d93fe8
@joshbuddy authored
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/)
Please sign in to comment.
Something went wrong with that request. Please try again.