Skip to content

Commit

Permalink
fix: failing test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
uglyog committed Jun 24, 2022
1 parent 8327184 commit 905ed65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class PactPluginSpec extends Specification {
consumer.auth == Auth.None.INSTANCE
consumer.packagesToScan == ['one', 'two']
consumer.pactSource instanceof File
consumer.pactSource.toString().endsWith('path/to/pact')
consumer.pactSource.toURL().toString().endsWith('path/to/pact')
consumer.stateChange.toString() == 'http://localhost:8001/tasks/pactStateChange'
!consumer.stateChangeUsesBody
}
Expand Down

0 comments on commit 905ed65

Please sign in to comment.