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.52.1 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.52.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.51.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.50.1 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.50.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.49.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.48.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.47.1 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.47.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.46.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.45.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.44.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.43.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.42.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.41.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.40.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.39.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.38.1 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.38.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb
pact_broker-2.37.0 spec/lib/pact_broker/api/decorators/pact_collection_decorator_spec.rb