Class: Katalyst::Kpop::Matchers::ModalMatcher Private

Inherits:
CapybaraMatcher
  • Object
show all
Defined in:
lib/katalyst/kpop/matchers/modal_matcher.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from CapybaraMatcher

#matched

Attributes inherited from Base

#matched

Instance Method Summary collapse

Methods inherited from CapybaraMatcher

#describe_actual, #describe_expected, #failure_message, #failure_message_when_negated, #match, #matches?

Methods inherited from Base

#matches?

Constructor Details

#initializeModalMatcher

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ModalMatcher.



8
9
10
# File 'lib/katalyst/kpop/matchers/modal_matcher.rb', line 8

def initialize
  super("[data-controller*='kpop--modal']")
end

Instance Method Details

#descriptionObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/katalyst/kpop/matchers/modal_matcher.rb', line 12

def description
  "contain a kpop modal"
end