diff --git a/README.md b/README.md index 5b5f4a02..2f349a77 100644 --- a/README.md +++ b/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