Skip to content

Instantly share code, notes, and snippets.

@dogweather

dogweather/get_path.rb

Last active Jun 8, 2018
Embed
What would you like to do?
# Simplify retrieving a path at a named host in request specs
def get_path(path, at_host:)
get path, headers: { host: at_host }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.