Skip to content

Commit

Permalink
Updated README and version
Browse files Browse the repository at this point in the history
  • Loading branch information
jferris committed Jun 23, 2010
1 parent cb7eae1 commit 16e1d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions README.rdoc
Expand Up @@ -142,16 +142,8 @@ With Rails 3 and Bundler, requiring Shoulda is as easy as adding it to your Gemf
gem "rspec-rails", "2.0.0.beta.12"
end

Require shoulda from your spec/spec_helper.rb file, before Rspec is
configured, and tell Rspec to include the Shoulda matchers.

require "shoulda"
Rspec.configure do |config|
config.include Shoulda::ActionController::Matchers
config.include Shoulda::ActiveRecord::Matchers
config.include Shoulda::ActionMailer::Matchers
# ...
end
Shoulda will automatically include matchers into the appropriate example
groups.

= Credits

Expand Down
2 changes: 1 addition & 1 deletion lib/shoulda/version.rb
@@ -1,4 +1,4 @@
module Shoulda
VERSION = "2.11.0"
VERSION = "2.11.1"
end

0 comments on commit 16e1d90

Please sign in to comment.