1 2 3 4 5 6 7
require 'shoulda-matchers' Shoulda::Matchers.configure do |config| config.integrate do |with| with.test_framework :rspec with.library :rails end end