Skip to content

Commit

Permalink
Use relative path for spock.snapshots.rootPath (#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
jprinet authored Apr 26, 2023
1 parent 04483cf commit 52e7688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spock-specs/specs.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ tasks.named("test", Test) {
testLogging.events 'standard_out'
testLogging.events 'standard_error'
maxParallelForks = 1
systemProperty "spock.snapshots.rootPath", "${projectDir}/src/test/resources"
systemProperty "spock.snapshots.rootPath", "src/test/resources"
if (project.hasProperty("updateSnapshots")) {
systemProperty("spock.snapshots.updateSnapshots", "true")
}
Expand Down

0 comments on commit 52e7688

Please sign in to comment.