Sha256: e312b7dee9c558145c153b7f0f0381784cc1f5c1db075b7276349fb3ce7b3fbd

Contents?: true

Size: 642 Bytes

Versions: 4

Compression:

Stored size: 642 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 -v --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

4 entries across 4 versions & 1 rubygems

Version Path
pact_broker-client-1.13.1 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.13.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.12.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.11.0 spec/integration/create_version_tag_spec.rb