Call #emails before calling #email (RuntimeError)

16 views
Skip to first unread message

R Law

unread,
Feb 28, 2011, 5:20:24 PM2/28/11
to pickle
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.
Reply all
Reply to author
Forward
0 new messages