cucumber-mailcatcher
This gem provides default steps for cucumber to interact with the mailcatcher test SMTP server http://mailcatcher.me/
Steps:
Query messages in mail catcher
Query by single parameters
Then I should receive 1 email from "jackson.nic@gmail.com"
Then I should receive 1 email sent to "jackson.nic@gmail.com"
Then I should receive 1 email with subject "A subject"
Then I should receive 1 email with a body containing "Some body content"
Query by table (TODO)
Then I should receive 1 email with the following details
| To | From | Subject |
| jackson.nic@gmail.com | test@test.com | My test email |
Delete all messages
Given I delete all mail messages