I'm getting this error:
And an email should be delivered to
"
Bar...@example.com"
# features/step_definitions/email_steps.rb:37
Call #emails before calling #email (RuntimeError)
./features/step_definitions/email_steps.rb:38:in `/^((?:(?:(?:a|
an|another|the|that) )?(?:(?:first|last|(?:\d+(?:st|nd|rd|th))) )?
email)) should be delivered to (.+)$/'
features/submissions/barbara.feature:24:in `And an email should
be delivered to "
Bar...@example.com"'
I didn't see this error before I updated cucumber-rails to the latest
github version (f3002faf1256).
Edit: I was about to post this when I tried this:
And 1 emails should be delivered
Before the failing step and now it passes.