Created
June 27, 2012 06:41
-
-
Save arnab/3002038 to your computer and use it in GitHub Desktop.
Capybara's launchy integration, without installing the launchy gem
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
# From inside a Rails root directory | |
# After you call save_and_open_page in Capybara (and you don't have or want launchy) | |
open -a "Google Chrome" "tmp/capybara/"`ls -tr tmp/capybara/ | head -2 | tail -1` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment