Permalink
Browse files

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

Add installation instructions for Rails 5.0
  • Loading branch information...
2 parents d3145e9 + 6eb920a commit ac9f4822ca25732ccf4d0081d28cac7f19f3b9aa @guialbuk guialbuk committed on GitHub Apr 24, 2017
Showing with 10 additions and 0 deletions.
  1. +10 −0 README.md
View
@@ -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

3 comments on commit ac9f482

Hey! Great to see this!

Any chance to see this in master or as a PR anytime soon? I think a PR would be awesome for others to contribute to and follow the progress. What do you think? :)

Or make this branch the default one on github?

Collaborator

guialbuk replied Jun 21, 2017

Hi, @aried3r . This PR has already been merged into master branch :)
https://github.com/thoughtbot/shoulda-matchers#getting-started
The rails-5 branch has many failing tests, so it isn't ready to be the default branch yet.

Please sign in to comment.