Better installation instructions for rspec-rails. Fixes #117.
This commit is contained in:
parent
8995f60803
commit
2185ea35c9
|
@ -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…
Reference in New Issue