Sha256: e269c6e2662bc2bfd9fa957ef5840f671f5e65738d6ccd7115be857939215079

Contents?: true

Size: 710 Bytes

Versions: 24

Compression:

Stored size: 710 Bytes

Contents

describe "pact-broker create-version-tag", skip_windows: true do
  before(:all) do
    @pipe = IO.popen("bundle exec pact-stub-service spec/pacts/pact_broker_client-pact_broker.json -p 5001 --log tmp/pact-stub-service-create-verison-tag.log")
    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

24 entries across 24 versions & 1 rubygems

Version Path
pact_broker-client-1.28.1 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.28.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.28 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.27 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.26 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.25 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.24 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.23 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.22 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.21 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.20 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.19 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.14 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.13 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.12 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.11 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.10 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.9 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.8 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.27.4 spec/integration/create_version_tag_spec.rb