From 9c83157f1cb48cbad145625fb7979f68065b66f3 Mon Sep 17 00:00:00 2001 From: Fulminazzo Date: Sun, 22 Dec 2024 12:36:45 +0100 Subject: [PATCH] Updated spec to use absolute path for not found file --- src/test/groovy/it/fulminazzo/railway/RailwayTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/groovy/it/fulminazzo/railway/RailwayTest.groovy b/src/test/groovy/it/fulminazzo/railway/RailwayTest.groovy index 862ceb4..1a6720c 100644 --- a/src/test/groovy/it/fulminazzo/railway/RailwayTest.groovy +++ b/src/test/groovy/it/fulminazzo/railway/RailwayTest.groovy @@ -13,7 +13,7 @@ class RailwayTest extends Specification { def setupSpec() { notFoundFile = new File("${ROOT_DIR}${File.separator}not_found.html") - railway = new Railway(PORT, THREADS, ROOT_DIR, notFoundFile.getPath()) + railway = new Railway(PORT, THREADS, ROOT_DIR, notFoundFile.getAbsolutePath()) railway.start() }