Created
May 26, 2010 20:33
-
-
Save jxson/415004 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
| # monkey patch for setting headers | |
| # http://bit.ly/aYhlWg | |
| module Capybara | |
| class Session | |
| def set_request_header(name, value) | |
| driver.header(name, value) | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment