summaryrefslogtreecommitdiff
path: root/example/staticFiles/app/test/src/ExampleTests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'example/staticFiles/app/test/src/ExampleTests.scala')
-rw-r--r--example/staticFiles/app/test/src/ExampleTests.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/staticFiles/app/test/src/ExampleTests.scala b/example/staticFiles/app/test/src/ExampleTests.scala
index c60f443..ab67bcf 100644
--- a/example/staticFiles/app/test/src/ExampleTests.scala
+++ b/example/staticFiles/app/test/src/ExampleTests.scala
@@ -24,6 +24,11 @@ object ExampleTests extends TestSuite{
requests.get(s"$host/static/resource/example.txt").text() ==>
"the quick brown fox jumps over the lazy dog"
+
+ requests.get(s"$host/static/resource2/cask/example.txt").text() ==>
+ "the quick brown fox jumps over the lazy dog"
+
+ requests.get(s"$host/static/file/../../../build.sc").statusCode ==> 404
}
}