Sha256: 3cb523d8adefed1d4c21ac1b223d50efbdab6d1a89f1fd3d9b24b43a633b72c2

Contents?: true

Size: 639 Bytes

Versions: 1

Compression:

Stored size: 639 Bytes

Contents

describe "pact-broker create-version-tag" 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

1 entries across 1 versions & 1 rubygems

Version Path
pact_broker-client-1.14.0 spec/integration/create_version_tag_spec.rb