class Object
Public Instance Methods
matching_morph(morphs, selector)
click to toggle source
# File lib/rspec/rails/matchers/stimulus_reflex.rb, line 81 def matching_morph(morphs, selector) if morphs.respond_to?(:call) morphs.call.find { |morph| morph[0] == selector } else morphs.find { |morph| morph[0] == selector } end end
supports_block_expectations?()
click to toggle source
# File lib/rspec/rails/matchers/stimulus_reflex.rb, line 38 def supports_block_expectations? true end