Skip to content

Instantly share code, notes, and snippets.

Currently this repo only supports using *chef-solo* which doesn't access any remote components. Later you can migrate this setup to use *chef-client* with a *Chef Server* as needed.
A *run list* is a json file defining which recipes get run on a server.
# File layout
*Berksfile* is like a Gemfile for Chef cookbooks. See *bin/berks* for more info.
*config* contains Ruby config files for command line clients like chef-solo.
@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')