From 395aa9e56023fb617858384c6d86336b7e27388b Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Mon, 4 Sep 2023 11:26:02 +1000 Subject: [PATCH] chore: update expectation for base 64 encoded contract --- doc/pacts/markdown/Pact Broker Client - Pactflow.md | 6 +++--- doc/pacts/markdown/README.md | 2 +- spec/pacts/pact_broker_client-pactflow.json | 4 ++-- .../pactflow_publish_provider_contract_spec.rb | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/pacts/markdown/Pact Broker Client - Pactflow.md b/doc/pacts/markdown/Pact Broker Client - Pactflow.md index e092e37..7133e5e 100644 --- a/doc/pacts/markdown/Pact Broker Client - Pactflow.md +++ b/doc/pacts/markdown/Pact Broker Client - Pactflow.md @@ -56,7 +56,7 @@ Upon receiving **a request to create a provider contract** from Pact Broker Clie "Accept": "application/hal+json" }, "body": { - "content": "LS0tCjpzb21lOiBjb250cmFjdAo=", + "content": "LS0tCnNvbWU6IGNvbnRyYWN0Cg==", "contractType": "oas", "contentType": "application/yaml", "verificationResults": { @@ -90,7 +90,7 @@ Given **there is a pf:ui href in the response**, upon receiving **a request to c "Accept": "application/hal+json" }, "body": { - "content": "LS0tCjpzb21lOiBjb250cmFjdAo=", + "content": "LS0tCnNvbWU6IGNvbnRyYWN0Cg==", "contractType": "oas", "contentType": "application/yaml", "verificationResults": { @@ -104,7 +104,7 @@ Given **there is a pf:ui href in the response**, upon receiving **a request to c } } ``` -Pactflow will respond with: +PactFlow will respond with: ```json { "status": 201, diff --git a/doc/pacts/markdown/README.md b/doc/pacts/markdown/README.md index 5ba4433..4c45249 100644 --- a/doc/pacts/markdown/README.md +++ b/doc/pacts/markdown/README.md @@ -1,4 +1,4 @@ ### Pacts for Pact Broker Client * [Pact Broker](Pact%20Broker%20Client%20-%20Pact%20Broker.md) -* [PactFlow](Pact%20Broker%20Client%20-%20Pactflow.md) +* [PactFlow](Pact%20Broker%20Client%20-%20PactFlow.md) diff --git a/spec/pacts/pact_broker_client-pactflow.json b/spec/pacts/pact_broker_client-pactflow.json index 8a7a970..78a694b 100644 --- a/spec/pacts/pact_broker_client-pactflow.json +++ b/spec/pacts/pact_broker_client-pactflow.json @@ -16,7 +16,7 @@ "Accept": "application/hal+json" }, "body": { - "content": "LS0tCjpzb21lOiBjb250cmFjdAo=", + "content": "LS0tCnNvbWU6IGNvbnRyYWN0Cg==", "contractType": "oas", "contentType": "application/yaml", "verificationResults": { @@ -47,7 +47,7 @@ "Accept": "application/hal+json" }, "body": { - "content": "LS0tCjpzb21lOiBjb250cmFjdAo=", + "content": "LS0tCnNvbWU6IGNvbnRyYWN0Cg==", "contractType": "oas", "contentType": "application/yaml", "verificationResults": { diff --git a/spec/service_providers/pactflow_publish_provider_contract_spec.rb b/spec/service_providers/pactflow_publish_provider_contract_spec.rb index 35f8308..69add63 100644 --- a/spec/service_providers/pactflow_publish_provider_contract_spec.rb +++ b/spec/service_providers/pactflow_publish_provider_contract_spec.rb @@ -37,7 +37,7 @@ let(:request_body) do { - "content" => "LS0tCjpzb21lOiBjb250cmFjdAo=", + "content" => "LS0tCnNvbWU6IGNvbnRyYWN0Cg==", "contractType" => "oas", "contentType" => "application/yaml", "verificationResults" => {