From 917891ae2bb48d5d4a5c993d191c17c2ac07c5ae Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Tue, 24 Jul 2018 14:33:07 +1000 Subject: [PATCH] fix: default pact specification version to 2 --- lib/pact/consumer/configuration/mock_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact/consumer/configuration/mock_service.rb b/lib/pact/consumer/configuration/mock_service.rb index 0314e92b..bbeb81ab 100644 --- a/lib/pact/consumer/configuration/mock_service.rb +++ b/lib/pact/consumer/configuration/mock_service.rb @@ -20,7 +20,7 @@ def initialize name, consumer_name, provider_name @port = nil @standalone = false @verify = true - @pact_specification_version = nil + @pact_specification_version = '2' @finalized = false end