Class: RSpec::MailMatcher::DeliverFromMatcher
- Inherits:
-
AddressMatcher
- Object
- AddressMatcher
- RSpec::MailMatcher::DeliverFromMatcher
- Defined in:
- lib/rspec/mail_matcher/deliver_from_matcher.rb
Instance Method Summary collapse
Methods inherited from AddressMatcher
Constructor Details
This class inherits a constructor from RSpec::MailMatcher::AddressMatcher
Instance Method Details
#description ⇒ Object
3 4 5 |
# File 'lib/rspec/mail_matcher/deliver_from_matcher.rb', line 3 def description "have deliver from as #{@expected}" end |
#failure_message ⇒ Object
7 8 9 |
# File 'lib/rspec/mail_matcher/deliver_from_matcher.rb', line 7 def "expected #{mails.inspect} not to deliver from #{@expected.inspect}, but it did" end |