Skip to content

Commit

Permalink
feat: return plain string URLs from Pact::PactBroker.fetch_pact_uris
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jul 24, 2018
1 parent cc93f8e commit 1aa1989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pact/pact_broker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1aa1989

Please sign in to comment.