Add Shoulda Matchers 3 configuration

From version 3.0.0 it is needed to specfied which test framework you're
using and which portion of the matchers you want to use in
`rails_helper.rb` (or the old `spec_helper.rb` in our case).
This commit is contained in:
Ana María Martínez Gómez 2018-09-16 00:17:02 +02:00 committed by Henne Vogelsang
parent 10ba4283fb
commit d7dd85bcc0

View file

@ -122,3 +122,10 @@ RSpec.configure do |config|
end
OmniAuth.config.test_mode = true
Shoulda::Matchers.configure do |config|
config.integrate do |with|
with.test_framework :rspec
with.library :rails
end
end