Add installation instructions for Rails 5.0

This commit is contained in:
Gui Albuk 2017-04-24 13:36:08 -03:00
parent d3145e9119
commit 6eb920a67c
1 changed files with 10 additions and 0 deletions

View File

@ -117,12 +117,22 @@ complex, and error-prone.
Include `shoulda-matchers` in your Gemfile:
For Rails 4.x:
``` ruby
group :test do
gem 'shoulda-matchers', '~> 3.1'
end
```
For Rails 5.0:
``` ruby
group :test do
 gem 'shoulda-matchers', git: 'https://github.com/thoughtbot/shoulda-matchers.git', branch: 'rails-5'
end
```
Now you need to tell the gem a couple of things:
* Which test framework you're using