Skip to content

Instantly share code, notes, and snippets.

Last active Jun 8, 2018
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 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment