Skip to content

Instantly share code, notes, and snippets.

@paul
Created November 25, 2008 18:15
Show Gist options
  • Save paul/29009 to your computer and use it in GitHub Desktop.
Save paul/29009 to your computer and use it in GitHub Desktop.
# Request specs in rails
def perform(method, path, params, headers)
#why the hell is Integration::Session#process a private method?
self.send(method, path, params, headers)
end
# Use it like:
perform(:get, '/', {}, {})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment