Skip to content

Commit

Permalink
Merge pull request #1015 from thoughtbot/master
Browse files Browse the repository at this point in the history
Add Rails 5 documentation in rails-5 branch
  • Loading branch information
Gui Albuk authored Apr 25, 2017
2 parents 7239d1f + ac9f482 commit ead8701
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ead8701

Please sign in to comment.