You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# WIP pacts will always have tags, because it is part of the definition of being a WIP pact
19
+
"This pact is being verified because it is a 'work in progress' pact (ie. it is the pact for the latest #{version_text} of Foo tagged with #{joined_head_consumer_tags} and is still in pending state). #{READ_MORE_WIP}"
18
20
else
19
-
"This pact is being verified because it is the latest pact between #{consumer_name} and #{provider_name}."
21
+
ifhead_consumer_tags.any?
22
+
"This pact is being verified because it is the pact for the latest #{version_text} of Foo tagged with #{joined_head_consumer_tags}"
23
+
else
24
+
"This pact is being verified because it is the latest pact between #{consumer_name} and #{provider_name}."
25
+
end
20
26
end
21
27
end
22
28
23
29
defpending_reason
24
30
ifpending?
25
-
"This pact is in pending state because it has not yet been successfully verified by #{pending_provider_tags_description}. If this verification fails, it will not cause the overall build to fail. #{READ_MORE}"
31
+
"This pact is in pending state because it has not yet been successfully verified by #{pending_provider_tags_description}. If this verification fails, it will not cause the overall build to fail. #{READ_MORE_PENDING}"
26
32
else
27
-
"This pact has previously been successfully verified by #{non_pending_provider_tags_description}. If this verification fails, it will fail the build. #{READ_MORE}"
33
+
"This pact has previously been successfully verified by #{non_pending_provider_tags_description}. If this verification fails, it will fail the build. #{READ_MORE_PENDING}"
0 commit comments