From 16e1d90e1626f8f6018b499b7d37a0300f3fde55 Mon Sep 17 00:00:00 2001 From: Joe Ferris Date: Wed, 23 Jun 2010 14:50:05 -0400 Subject: [PATCH] Updated README and version --- README.rdoc | 12 ++---------- lib/shoulda/version.rb | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/README.rdoc b/README.rdoc index b242b099..56b8bed1 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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 diff --git a/lib/shoulda/version.rb b/lib/shoulda/version.rb index 8919021a..f0f1f7b8 100644 --- a/lib/shoulda/version.rb +++ b/lib/shoulda/version.rb @@ -1,4 +1,4 @@ module Shoulda - VERSION = "2.11.0" + VERSION = "2.11.1" end