diff --git a/lib/pact_broker/client/base_client.rb b/lib/pact_broker/client/base_client.rb index d1e6e6d7..daa8c757 100644 --- a/lib/pact_broker/client/base_client.rb +++ b/lib/pact_broker/client/base_client.rb @@ -41,6 +41,7 @@ def initialize options @client_options = options[:client_options] || {} @verbose = @client_options[:verbose] self.class.base_uri base_url + self.class.debug_output($stderr) if verbose? self.class.basic_auth(client_options[:basic_auth][:username], client_options[:basic_auth][:password]) if client_options[:basic_auth] end diff --git a/lib/pact_broker/client/matrix.rb b/lib/pact_broker/client/matrix.rb index 3277cb3a..be1b2e43 100644 --- a/lib/pact_broker/client/matrix.rb +++ b/lib/pact_broker/client/matrix.rb @@ -10,8 +10,6 @@ def get selectors, options = {} latestby: latestby }.merge(query_options(options)) response = self.class.get("/matrix", query: query, headers: default_get_headers) - $stdout.puts("DEBUG: Response headers #{response.headers}") if verbose? - $stdout.puts("DEBUG: Response body #{response}") if verbose? response = handle_response(response) do JSON.parse(response.body, symbolize_names: true) end diff --git a/spec/integration/can_i_deploy_spec.rb b/spec/integration/can_i_deploy_spec.rb index 04e65078..3fa0d158 100644 --- a/spec/integration/can_i_deploy_spec.rb +++ b/spec/integration/can_i_deploy_spec.rb @@ -5,7 +5,7 @@ end context "when the pacticipants can be deployed" do - subject { `bundle exec bin/pact-broker can-i-deploy -v --pacticipant Foo --version 1.2.3 --pacticipant Bar --version 4.5.6 --broker-base-url http://localhost:5000` } + subject { `bundle exec bin/pact-broker can-i-deploy --pacticipant Foo --version 1.2.3 --pacticipant Bar --version 4.5.6 --broker-base-url http://localhost:5000` } it "returns a success exit code" do subject @@ -18,7 +18,7 @@ end context "when the pacticipants can't be deployed" do - subject { `bundle exec bin/pact-broker can-i-deploy -v --pacticipant Wiffle --version 1.2.3 --pacticipant Meep --version 4.5.6 --broker-base-url http://localhost:5000` } + subject { `bundle exec bin/pact-broker can-i-deploy --pacticipant Wiffle --version 1.2.3 --pacticipant Meep --version 4.5.6 --broker-base-url http://localhost:5000` } it "returns an error exit code" do subject diff --git a/spec/integration/create_version_tag_spec.rb b/spec/integration/create_version_tag_spec.rb index f4a4b027..b20aa6e4 100644 --- a/spec/integration/create_version_tag_spec.rb +++ b/spec/integration/create_version_tag_spec.rb @@ -5,7 +5,7 @@ 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` } + 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