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