class Downstream::HaveEnqueuedAsyncSubscriberFor::EventMatcher

Attributes

event[R]

Public Class Methods

new(event) click to toggle source
# File lib/downstream/rspec/have_enqueued_async_subscriber_for.rb, line 12
def initialize(event)
  @event = event
end

Public Instance Methods

description() click to toggle source
# File lib/downstream/rspec/have_enqueued_async_subscriber_for.rb, line 20
def description
  "be #{event.inspect}"
end
matches?(actual) click to toggle source
# File lib/downstream/rspec/have_enqueued_async_subscriber_for.rb, line 16
def matches?(actual)
  actual == event
end