Skip to content

Commit

Permalink
feat: changed name of verification date field
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 10, 2017
1 parent bdc8312 commit 962b7d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/pact_broker/client/matrix_text_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def self.call(matrix_lines)
lookup(line, :pact, :createdAt),
lookup(line, :consumer, :name),
lookup(line, :provider, :version, :number),
lookup(line, :verification, :executedAt),
lookup(line, :verificationResult, :verifiedAt),
)
end

Expand Down
4 changes: 2 additions & 2 deletions spec/pacts/pact_broker_client-pact_broker.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@
"number": "5"
}
},
"verification": {
"executedAt": "2017-10-10T12:49:04+11:00"
"verificationResult": {
"verifiedAt": "2017-10-10T12:49:04+11:00"
},
"pact": {
"createdAt": "2017-10-10T12:49:04+11:00"
Expand Down
4 changes: 2 additions & 2 deletions spec/support/matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"number": "5"
}
},
"verification": {
"executedAt": "2017-10-10T12:49:04+11:00"
"verificationResult": {
"verifiedAt": "2017-10-10T12:49:04+11:00"
},
"pact": {
"createdAt": "2017-10-10T12:49:04+11:00"
Expand Down

0 comments on commit 962b7d1

Please sign in to comment.