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