From 4fc691907db8cc0be035d90e9e9df01c418000f5 Mon Sep 17 00:00:00 2001 From: Kyle Florence <52473140+solarmosaic-kflorence@users.noreply.github.com> Date: Tue, 26 Jan 2021 15:12:31 -0600 Subject: [PATCH] fix: message when pending pact is verified successfully for the first time (#376) Re-words message to make grammatical sense. Fixes #375 --- lib/pact_broker/pacts/verifiable_pact_messages.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact_broker/pacts/verifiable_pact_messages.rb b/lib/pact_broker/pacts/verifiable_pact_messages.rb index 5447090d3..6b29b40da 100644 --- a/lib/pact_broker/pacts/verifiable_pact_messages.rb +++ b/lib/pact_broker/pacts/verifiable_pact_messages.rb @@ -52,7 +52,7 @@ def verification_success_true_published_false def verification_success_true_published_true if pending? - "This pact is no longer in pending state for #{pending_provider_tags_description}, as a successful verification result #{with_these_tags}has been published. If a verification for a version with fails in the future, it will fail the build. #{READ_MORE_PENDING}" + "This pact is no longer in pending state for #{pending_provider_tags_description}, as a successful verification result #{with_these_tags}has been published. If a verification for a version of #{provider_name} #{with_these_tags}fails in the future, it will fail the build. #{READ_MORE_PENDING}" end end