Skip to content

Commit 52e7688

Browse files
authored
Use relative path for spock.snapshots.rootPath (#1634)
1 parent 04483cf commit 52e7688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spock-specs/specs.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tasks.named("test", Test) {
4646
testLogging.events 'standard_out'
4747
testLogging.events 'standard_error'
4848
maxParallelForks = 1
49-
systemProperty "spock.snapshots.rootPath", "${projectDir}/src/test/resources"
49+
systemProperty "spock.snapshots.rootPath", "src/test/resources"
5050
if (project.hasProperty("updateSnapshots")) {
5151
systemProperty("spock.snapshots.updateSnapshots", "true")
5252
}

0 commit comments

Comments
 (0)