Skip to content

Instantly share code, notes, and snippets.

@richmolj
Created April 10, 2017 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richmolj/fac7937957798672cff2b0fef581b8ff to your computer and use it in GitHub Desktop.
Save richmolj/fac7937957798672cff2b0fef581b8ff to your computer and use it in GitHub Desktop.
app = ActionDispatch.test_app
session = ActionDispatch::Integration::Session.new(app)
session.get '/api/foo'
session.response.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment