Skip to content

Instantly share code, notes, and snippets.

View dogweather's full-sized avatar

Robb Shecter dogweather

View GitHub Profile
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=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')
@theconektd
theconektd / production.rb
Created June 16, 2009 23:21
Consolidate pre-deployment tasks before shipping to Heroku
# Supresses automatic updates of SASS so as not to offend your Heroku slug
Sass::Plugin.options[:never_update] = true