Class: Katalyst::Kpop::Matchers::StreamMatcher Private
- Inherits:
-
CapybaraMatcher
- Object
- RSpec::Rails::Matchers::BaseMatcher
- Base
- CapybaraMatcher
- Katalyst::Kpop::Matchers::StreamMatcher
- Defined in:
- lib/katalyst/kpop/matchers/stream_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
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(id: "kpop", action: "update") ⇒ StreamMatcher
constructor
private
A new instance of StreamMatcher.
Methods inherited from CapybaraMatcher
#describe_actual, #describe_expected, #description, #failure_message, #failure_message_when_negated, #match, #matches?
Methods inherited from Base
Constructor Details
#initialize(id: "kpop", action: "update") ⇒ StreamMatcher
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 StreamMatcher.
8 9 10 |
# File 'lib/katalyst/kpop/matchers/stream_matcher.rb', line 8 def initialize(id: "kpop", action: "update") super("turbo-stream[action='#{action}'][target='#{id}']") end |