Merge pull request #1014 from guialbuk/rails-5-readme
Add installation instructions for Rails 5.0
This commit is contained in:
commit
ac9f4822ca
10
README.md
10
README.md
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue