Sha256: 62e944cd225a15ac09b2197b0a4cb2e00a3e571e8fef06acd80360a18cf67ad8

Contents?: true

Size: 718 Bytes

Versions: 7

Compression:

Stored size: 718 Bytes

Contents

# Currently failing on Travis, skip for now
describe "pact-broker create-version-tag", skip_windows: true, skip_ci: true do
  before(:all) do
    @pipe = IO.popen("bundle exec pact-stub-service spec/pacts/pact_broker_client-pact_broker.json -p 5001")
    sleep 2
  end

  context "when the version is successfully tagged" do
    subject { `bundle exec bin/pact-broker create-version-tag --pacticipant Condor --version 1.3.0 --tag prod --broker-base-url http://localhost:5001` }

    it "returns a success exit code" do
      subject
      expect($?.exitstatus).to eq 0
      expect(subject).to include 'Tagging Condor version 1.3.0 as prod'
    end
  end

  after(:all) do
    Process.kill 'KILL', @pipe.pid
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pact_broker-client-1.25.1 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.25.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.24.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.23.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.22.3 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.22.2 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.22.1 spec/integration/create_version_tag_spec.rb