class Shoulda::Matchers::Integrations::Libraries::ActiveRecord

@private

Public Instance Methods

integrate_with(test_framework) click to toggle source
# File lib/shoulda/matchers/integrations/libraries/active_record.rb, line 12
def integrate_with(test_framework)
  test_framework.include(matchers_module, type: :model)
  include_into(ActiveSupport::TestCase, matchers_module)
end

Private Instance Methods

matchers_module() click to toggle source
# File lib/shoulda/matchers/integrations/libraries/active_record.rb, line 19
def matchers_module
  Shoulda::Matchers::ActiveRecord
end