Created
April 10, 2017 21:36
-
-
Save richmolj/fac7937957798672cff2b0fef581b8ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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