1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Updated README and version

This commit is contained in:
Joe Ferris 2010-06-23 14:50:05 -04:00
parent cb7eae11b5
commit 16e1d90e16
2 changed files with 3 additions and 11 deletions

View file

@ -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" gem "rspec-rails", "2.0.0.beta.12"
end end
Require shoulda from your spec/spec_helper.rb file, before Rspec is Shoulda will automatically include matchers into the appropriate example
configured, and tell Rspec to include the Shoulda matchers. groups.
require "shoulda"
Rspec.configure do |config|
config.include Shoulda::ActionController::Matchers
config.include Shoulda::ActiveRecord::Matchers
config.include Shoulda::ActionMailer::Matchers
# ...
end
= Credits = Credits

View file

@ -1,4 +1,4 @@
module Shoulda module Shoulda
VERSION = "2.11.0" VERSION = "2.11.1"
end end