Add instructions for Spring users to README

This commit is contained in:
Elliot Winkler 2014-04-16 00:47:52 -06:00
parent a21426c2d6
commit a5623e7a6a
1 changed files with 14 additions and 0 deletions

View File

@ -18,6 +18,20 @@ group :test do
end
```
Note that if you're using a Rails preloader like Spring, you'll need to manually
require shoulda-matchers in your spec_helper after you require RSpec:
```ruby
# Gemfile
group :test do
gem 'shoulda-matchers', require: false
end
# spec_helper
require 'rspec/rails'
require 'shoulda/matchers'
```
### Test::Unit
shoulda-matchers was originally a component of