method

matches?

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

matches?(name, payload, tags)
public

No documentation available.

# File activesupport/lib/active_support/testing/event_reporter_assertions.rb, line 22
          def matches?(name, payload, tags)
            return false unless name.to_s == event_data[:name]

            if payload && payload.is_a?(Hash)
              return false unless matches_hash?(payload, :payload)
            end

            return false unless matches_hash?(tags, :tags)
            true
          end