No commit activity in last 3 years
No release in over 3 years
Some simple cucumber steps to allow behavioural testing with the Mailcatcher mock SMTP server
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.3.10, ~> 1.3
>= 3.3.1, ~> 3.3
 Project Readme

cucumber-mailcatcher

Build Status
Coverage Status
Gem Version

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