class Shoulda::Matchers::Integrations::Libraries::Rails

@private

Constants

SUB_LIBRARIES

Public Instance Methods

integrate_with(test_framework) click to toggle source
# File lib/shoulda/matchers/integrations/libraries/rails.rb, line 18
def integrate_with(test_framework)
  Shoulda::Matchers.assertion_exception_class =
    ActiveSupport::TestCase::Assertion

  SUB_LIBRARIES.each do |name|
    library = Integrations.find_library!(name)
    library.integrate_with(test_framework)
  end
end