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

Better installation instructions for rspec-rails. Fixes #117.

This commit is contained in:
Gabe Berke-Williams 2012-06-08 09:54:08 -07:00
parent 8995f60803
commit 2185ea35c9

View file

@ -67,10 +67,15 @@ Matchers to test common patterns:
In Rails 3 and Bundler, add the following to your Gemfile:
group :test do
gem "rspec-rails"
gem "shoulda-matchers"
end
# rspec-rails needs to be in the development group so that Rails generators
# work.
group :development, :test do
gem "rspec-rails"
end
Shoulda will automatically include matchers into the appropriate example groups.
## Credits