lib/popcorn: fix file inclusion for Jenkins tests
[nit.git] / lib / popcorn / examples / static_files / tests / test_example_static.nit
index d1b5977..a1c26a9 100644 (file)
@@ -34,7 +34,7 @@ class TestExampleStatic
 
        fun test_example_static do
                var app = new App
-               app.use("/", new StaticHandler("examples/static_files/public/"))
+               app.use("/", new StaticHandler(test_path / "../public/"))
                run_test(app)
        end
 end