Class: Shoulda::Matchers::Integrations::Libraries::ViewComponent

Inherits:
Object
  • Object
show all
Includes:
Integrations::Inclusion, Integrations::Rails
Defined in:
lib/shoulda/matchers/integrations/libraries/view_component.rb

Instance Method Summary collapse

Instance Method Details

#integrate_with(test_framework) ⇒ Object



13
14
15
# File 'lib/shoulda/matchers/integrations/libraries/view_component.rb', line 13

def integrate_with(test_framework)
  test_framework.include(matchers_module, type: :component)
end