Skip to content

Commit

Permalink
Update installation instructions for shoulda
Browse files Browse the repository at this point in the history
shoulda doesn't yet support shoulda-matchers 3.0, so have people install
2.8.0 instead for now.

[ci skip]
  • Loading branch information
mcmire committed Jan 10, 2016
1 parent 12e788f commit e2fc159
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,15 @@ end

Shoulda Matchers was originally a component of [Shoulda][shoulda], a gem that
also provides `should` and `context` syntax via
[`shoulda-context`][shoulda-context]. For this reason you'll want to include
this gem in your Gemfile instead:
[`shoulda-context`][shoulda-context].

At the moment, `shoulda` has not been updated to support `shoulda-matchers` 3.0,
so you'll want to add the following to your Gemfile:

```ruby
group :test do
gem 'shoulda', '~> 3.5'
gem 'shoulda-matchers', '~> 2.0'
end
```

Expand Down

0 comments on commit e2fc159

Please sign in to comment.