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:
parent
8995f60803
commit
2185ea35c9
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue