public
Description: Makes tests easy on the fingers and the eyes
Home | Edit | New

Installation

Install

Get the rubygem by running:

sudo gem install thoughtbot-shoulda --source=http://gems.github.com

Ruby

All you’ll have to do to start using Shoulda is require it:

require 'shoulda'

Rails

The best practice with Rails is to vendor the shoulda gem. In RAILS_ROOT/config/environments/test.rb:

config.gem "thoughtbot-shoulda", :lib => "shoulda", :source => "http://gems.github.com"

Then:

rake gems:install
rake gems:unpack
Last edited by qrush, Mon Jul 27 11:24:12 -0700 2009
Home | Edit | New
Versions: