Sha256: 9bbf6f7fbc2364d9a181ef878da4b86b4460fe0dffafaa86e4602c24feb0fde1

Contents?: true

Size: 732 Bytes

Versions: 63

Compression:

Stored size: 732 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 --auto-create-version --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

63 entries across 63 versions & 1 rubygems

Version Path
pact_broker-client-1.75.3 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.75.1 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.75.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.74.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.73.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.72.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.71.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.70.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.69.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.68.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.67.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.66.1 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.66.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.65.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.64.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.63.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.62.1 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.62.0 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.61.1 spec/integration/create_version_tag_spec.rb
pact_broker-client-1.61.0 spec/integration/create_version_tag_spec.rb