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