Shoulda::Matchers.configure do |config| config.integrate do |with| with.library :rails with.test_framework :rspec end end