diff --git a/pact_broker.gemspec b/pact_broker.gemspec index 15699a3be..2600788dc 100644 --- a/pact_broker.gemspec +++ b/pact_broker.gemspec @@ -60,7 +60,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency "semver2", "~> 3.4.2" gem.add_runtime_dependency "rack", ">= 2.2.3", "~> 2.2" # TODO update to 3 gem.add_runtime_dependency "redcarpet", ">= 3.5.1", "~>3.5" - gem.add_runtime_dependency "pact-support" , "~> 1.16", ">= 1.16.4" + gem.add_runtime_dependency "pact-support" , ">= 1.21.2", "~> 1.21" gem.add_runtime_dependency "haml", "~>5.0" gem.add_runtime_dependency "sucker_punch", "~>3.0" gem.add_runtime_dependency "rack-protection", "~> 3.0" diff --git a/spec/lib/pact_broker/api/contracts/base_contract_spec.rb b/spec/lib/pact_broker/api/contracts/base_contract_spec.rb deleted file mode 100644 index 498b30ba3..000000000 --- a/spec/lib/pact_broker/api/contracts/base_contract_spec.rb +++ /dev/null @@ -1,27 +0,0 @@ -require "pact_broker/api/contracts/base_contract" - -module PactBroker - module Api - module Contracts - describe BaseContract do - include PactBroker::Test::ApiContractSupport - - class TestContract < BaseContract - json do - required(:name).filled(:string) - end - end - - describe ".call" do - context "when an array is supplied" do - subject { format_errors_the_old_way(TestContract.call([1])) } - - it "doesn't blow up" do - expect(subject[:name]).to eq ["is missing"] - end - end - end - end - end - end -end