Sha256: 2b48995812439411ef1804b28f636bb1e6d6e6e419b1bb9557f07c01f6a76f87
Contents?: true
Size: 747 Bytes
Versions: 1
Compression:
Stored size: 747 Bytes
Contents
is_windows = !!RbConfig::CONFIG['host_os'] =~ /bccwin|cygwin|djgpp|mingw|mswin|wince/ describe "pact-broker create-version-tag", pending: is_windows 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.1 | spec/integration/create_version_tag_spec.rb |