Module: TeamsConnector::Matchers

Defined in:
lib/teams_connector/matchers.rb,
lib/teams_connector/matchers/with.rb,
lib/teams_connector/matchers/expected_number.rb,
lib/teams_connector/matchers/have_sent_notification_to.rb

Defined Under Namespace

Modules: ExpectedNumber, With Classes: HaveSentNotificationTo

Instance Method Summary collapse

Instance Method Details

#sent_notification_to?(channel = nil, template = nil) ⇒ Boolean Also known as: have_sent_notification_to

Returns:

  • (Boolean)


7
8
9
# File 'lib/teams_connector/matchers.rb', line 7

def sent_notification_to?(channel = nil, template = nil)
  HaveSentNotificationTo.new(channel, template)
end