save_and_open_page
have_button(locator)
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
#!/bin/bash | |
# git-interactive-merge | |
# Taken from: http://www.angrylibertarian.com/node/53 | |
from=$1 | |
to=$2 | |
if [[ ( -z $from ) || ( -z $to ) ]]; then | |
echo "Usage:" | |
echo " git-interactive-merge <from-branch> <to-branch>" | |
exit 1 |