Module: TeamsConnector::Matchers::ExpectedNumber
- Included in:
- HaveSentNotificationTo
- Defined in:
- lib/teams_connector/matchers/expected_number.rb
Instance Method Summary collapse
- #at_least(count) ⇒ Object
- #at_most(count) ⇒ Object
- #exactly(count) ⇒ Object
- #once ⇒ Object
- #thrice ⇒ Object
- #times ⇒ Object
- #twice ⇒ Object
Instance Method Details
#at_least(count) ⇒ Object
11 12 13 14 |
# File 'lib/teams_connector/matchers/expected_number.rb', line 11 def at_least(count) set_expected_number(:at_least, count) self end |
#at_most(count) ⇒ Object
16 17 18 19 |
# File 'lib/teams_connector/matchers/expected_number.rb', line 16 def at_most(count) set_expected_number(:at_most, count) self end |
#exactly(count) ⇒ Object
6 7 8 9 |
# File 'lib/teams_connector/matchers/expected_number.rb', line 6 def exactly(count) set_expected_number(:exactly, count) self end |
#once ⇒ Object
25 26 27 |
# File 'lib/teams_connector/matchers/expected_number.rb', line 25 def once exactly(:once) end |
#thrice ⇒ Object
33 34 35 |
# File 'lib/teams_connector/matchers/expected_number.rb', line 33 def thrice exactly(:thrice) end |
#times ⇒ Object
21 22 23 |
# File 'lib/teams_connector/matchers/expected_number.rb', line 21 def times self end |
#twice ⇒ Object
29 30 31 |
# File 'lib/teams_connector/matchers/expected_number.rb', line 29 def twice exactly(:twice) end |