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, 4 insertions, 1 deletions
diff --git a/example/staticFiles/app/test/src/ExampleTests.scala b/example/staticFiles/app/test/src/ExampleTests.scala
index ddf7de3..c60f443 100644
--- a/example/staticFiles/app/test/src/ExampleTests.scala
+++ b/example/staticFiles/app/test/src/ExampleTests.scala
@@ -19,7 +19,10 @@ object ExampleTests extends TestSuite{
val tests = Tests{
'StaticFiles - test(StaticFiles){ host =>
- requests.get(s"$host/static/example.txt").text() ==>
+ requests.get(s"$host/static/file/example.txt").text() ==>
+ "the quick brown fox jumps over the lazy dog"
+
+ requests.get(s"$host/static/resource/example.txt").text() ==>
"the quick brown fox jumps over the lazy dog"
}