class Mocha::ParameterMatchers::EquivalentUri
def explode(uri)
- Private: -
def explode(uri) query_hash = CGI.parse(uri.query || '') URI::Generic::COMPONENT.inject({}) { |h, k| h.merge(k => uri.__send__(k)) }.merge(query: query_hash) end
def explode(uri) query_hash = CGI.parse(uri.query || '') URI::Generic::COMPONENT.inject({}) { |h, k| h.merge(k => uri.__send__(k)) }.merge(query: query_hash) end