Sha256: 07f1601680cf5bf21f2cd22fe4a392446ead73cd43737b5ac7691df0567a202f

Contents?: true

Size: 454 Bytes

Versions: 29

Compression:

Stored size: 454 Bytes

Contents

require 'pact_broker/api/resources/base_resource'

module PactBroker
  module Api
    module Resources
      describe BaseResource do
        let(:request) { double('request', uri: uri) }
        let(:response) { double('response') }
        let(:uri) { URI('http://example.org/path?query') }

        subject { BaseResource.new(request, response) }

        its(:resource_url) { is_expected.to eq 'http://example.org/path' }
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
pact_broker-2.23.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.22.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.21.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.20.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.19.2 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.19.1 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.19.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.18.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.17.1 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.17.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.16.1 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.16.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.15.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.14.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.13.1 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.13.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.12.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.11.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.10.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb
pact_broker-2.9.0 spec/lib/pact_broker/api/resources/base_resource_spec.rb