Skip to content

Commit

Permalink
Updated spec to use absolute path for not found file
Browse files Browse the repository at this point in the history
  • Loading branch information
fulminazzo committed Dec 22, 2024
1 parent f23834a commit 9c83157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/groovy/it/fulminazzo/railway/RailwayTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit 9c83157

Please sign in to comment.