From 1aa19894dbe8023d85a8189bfc1b9d9ae77226fe Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Tue, 24 Jul 2018 14:59:25 +1000 Subject: [PATCH] feat: return plain string URLs from Pact::PactBroker.fetch_pact_uris --- lib/pact/pact_broker.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pact/pact_broker.rb b/lib/pact/pact_broker.rb index f728cf12..58802b24 100644 --- a/lib/pact/pact_broker.rb +++ b/lib/pact/pact_broker.rb @@ -6,11 +6,11 @@ module PactBroker extend self def fetch_pact_uris *args - Pact::PactBroker::FetchPacts.call(*args) + Pact::PactBroker::FetchPacts.call(*args).collect(&:uri) end def fetch_wip_pact_uris *args - Pact::PactBroker::FetchWipPacts.call(*args) + Pact::PactBroker::FetchWipPacts.call(*args).collect(&:uri) end end end