Skip to content

Commit

Permalink
chore(docs): use 'merge' instead of 'update'. #71
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Mar 24, 2018
1 parent 2b8217f commit 424be67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ Pact tests tend to be quite long, due to the need to be specific about request/r
You have two options to achieve this feat:
1. Set `PactFileWriteMode` to `"update"` when creating a `Pact` struct:
1. Set `PactFileWriteMode` to `"merge"` when creating a `Pact` struct:
This will allow you to have multiple independent tests for a given Consumer-Provider pair, without it clobbering previous interactions.
Expand Down
2 changes: 1 addition & 1 deletion dsl/pact.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type Pact struct {
// PactFileWriteMode specifies how to write to the Pact file, for the life
// of a Mock Service.
// "overwrite" will always truncate and replace the pact after each run
// "update" will append to the pact file, which is useful if your tests
// "merge" will append to the pact file, which is useful if your tests
// are split over multiple files and instantiations of a Mock Server
// See https://github.com/pact-foundation/pact-ruby/blob/master/documentation/configuration.md#pactfile_write_mode
PactFileWriteMode string
Expand Down

0 comments on commit 424be67

Please sign in to comment.