Created
March 6, 2018 16:20
-
-
Save Lackoftactics/3069457338b74961d9df17139b48d770 to your computer and use it in GitHub Desktop.
capybara pause
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
def pause_capybara | |
$stderr.write " | |
Capybara paused! | |
App running at http://localhost:#{Capybara.current_session.server.port} | |
Press enter to continue..." | |
$stdin.gets | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment