Sha256: d1cf40355740d90c2ef48238cdd5734bf7dbb7afee1a978348e0701ed512ecd1
Contents?: true
Size: 662 Bytes
Versions: 159
Compression:
Stored size: 662 Bytes
Contents
require 'spec_helper' require 'pact_broker/domain' require 'pact_broker/api/decorators' module PactBroker::Api::Decorators describe PactCollectionDecorator do let(:pact) do provider = PactBroker::Domain::Pacticipant.create(:name => 'Pricing Service') consumer = PactBroker::Domain::Pacticipant.create(:name => 'Condor') version = PactBroker::Domain::Version.create(:number => '1.3.0', :pacticipant => consumer) pact = PactBroker::Domain::Pact.create(:consumer_version => version, :provider => provider) pact end xit "should description" do puts PactCollectionDecorator.new([pact]).to_json end end end
Version data entries
159 entries across 159 versions & 1 rubygems