Assert that the app sent an e-mail with a subject to an address (a handle of the users registry stands for its address) since the step that asked for it.
Examples
Then an email with the subject "Your Login Link" should be sent to "user"
Then an email with the subject "Your Login Link" should be sent to "admin"
And an email with the subject "Your Login Link" should be sent to "user@example.com"
Then an email with the subject "Your Login Link" should be sent to "developer"
And an email with the subject "Your Login Link" should be sent to "developer@example.com"
Pattern
Then(/^an email with the subject "([^"]*)" should be sent to "([^"]*)"$/, …)
Part of @webship-js/codeigniter-steps (github.com/webship/codeigniter-steps), a step pack for Webship-js 2.0.x.