Merge pull request #1014 from guialbuk/rails-5-readme

Add installation instructions for Rails 5.0
This commit is contained in:
Gui Albuk 2017-04-24 14:54:40 -03:00 committed by GitHub
commit ac9f4822ca
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