From d54bdc9b3362ffa95f34537c450c81bcb547704c Mon Sep 17 00:00:00 2001 From: Daniel Miranda Date: Thu, 3 Oct 2013 10:07:30 -0300 Subject: [PATCH] Adds test case for mountable routes --- src/test/scala/play/navigator/MatchingSpec.scala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/scala/play/navigator/MatchingSpec.scala b/src/test/scala/play/navigator/MatchingSpec.scala index d40aff6..1f754d7 100644 --- a/src/test/scala/play/navigator/MatchingSpec.scala +++ b/src/test/scala/play/navigator/MatchingSpec.scala @@ -39,6 +39,10 @@ class MatchingSpec extends Specification { "not match GET /mext/3.css" in { get("/mext/3.css") === None } } + "mountable" should { + "match GET /first/" in { get("/first") === Some("FirstModule index") } + } + "redirect" should { "match GET /redirect-me" in { get("/redirect-me") === Some("") } }