Sha256: 41416afa3d094b73ce8b25b7b1a87139f3e28a17048fc9642bf1f833fa78e61c

Contents?: true

Size: 554 Bytes

Versions: 6

Compression:

Stored size: 554 Bytes

Contents

require "pact_broker/verifications/latest_verification_for_pact_version"

module PactBroker
  module Verifications
    describe LatestVerificationForPactVersion do
      before do
        td.create_pact_with_hierarchy("Foo", "1", "Bar")
          .create_verification(provider_version: "2")
      end

      subject { LatestVerificationForPactVersion.first }

      its(:"consumer.name") { is_expected.to eq "Foo" }
      its(:"provider.name") { is_expected.to eq "Bar" }
      its(:"provider_version.number") { is_expected.to eq "2" }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pact_broker-2.85.1 spec/lib/pact_broker/verifications/latest_verification_for_pact_version_spec.rb
pact_broker-2.85.0 spec/lib/pact_broker/verifications/latest_verification_for_pact_version_spec.rb
pact_broker-2.84.0 spec/lib/pact_broker/verifications/latest_verification_for_pact_version_spec.rb
pact_broker-2.83.0 spec/lib/pact_broker/verifications/latest_verification_for_pact_version_spec.rb
pact_broker-2.82.0 spec/lib/pact_broker/verifications/latest_verification_for_pact_version_spec.rb
pact_broker-2.81.0 spec/lib/pact_broker/verifications/latest_verification_for_pact_version_spec.rb