Skip to content

Commit 44d7399

Browse files
committedJan 19, 2020
Updated the readme for leiningen pact plugin to have the correct format for the consumer list
1 parent 6eee482 commit 44d7399

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎provider/pact-jvm-provider-lein/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The following plugin options can be specified on the command line:
158158
Example, to run verification only for a particular consumer:
159159

160160
```
161-
$ lein with-profile pact pact-verify :pact.filter.consumers=consumer2
161+
$ lein with-profile pact pact-verify :pact.filter.consumers=:consumer2
162162
```
163163

164164
## Provider States
@@ -206,7 +206,7 @@ be expanded in the expression. For URL callbacks, the values need to be returned
206206
## Filtering the interactions that are verified
207207

208208
You can filter the interactions that are run using three properties: `:pact.filter.consumers`, `:pact.filter.description` and `:pact.filter.providerState`.
209-
Adding `:pact.filter.consumers=consumer1,consumer2` to the command line will only run the pact files for those
209+
Adding `:pact.filter.consumers=:consumer1,:consumer2` to the command line will only run the pact files for those
210210
consumers (consumer1 and consumer2). Adding `:pact.filter.description=a request for payment.*` will only run those interactions
211211
whose descriptions start with 'a request for payment'. `:pact.filter.providerState=.*payment` will match any interaction that
212212
has a provider state that ends with payment, and `:pact.filter.providerState=` will match any interaction that does not have a

0 commit comments

Comments
 (0)
Please sign in to comment.