Created
November 25, 2008 18:15
-
-
Save paul/29009 to your computer and use it in GitHub Desktop.
This file contains 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
# 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