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

Version Path
pact_broker-2.23.3 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.23.2 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.23.1 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.23.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.22.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.21.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.20.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.19.2 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.19.1 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.19.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.18.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.17.1 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.17.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.16.1 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.16.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.15.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.14.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.13.1 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.13.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.12.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb