Class: Shoulda::Matchers::Integrations::Libraries::ActiveModel
- Inherits:
-
Object
- Object
- Shoulda::Matchers::Integrations::Libraries::ActiveModel
- Defined in:
- lib/shoulda/matchers/integrations/libraries/active_model.rb
Instance Method Summary collapse
Methods included from Rails
Methods included from Inclusion
Instance Method Details
#integrate_with(test_framework) ⇒ Object
12 13 14 15 |
# File 'lib/shoulda/matchers/integrations/libraries/active_model.rb', line 12 def integrate_with(test_framework) test_framework.include(matchers_module, type: :model) include_into(ActiveSupport::TestCase, matchers_module) end |