using email_steps

7 views
Skip to first unread message

Karl

unread,
Feb 28, 2011, 6:52:03 PM2/28/11
to pickle
Are there any examples of using the email_steps that come with
pickle? Got the basics down, but i have a feeling i can do more with
it.

thx.

-karl

R Law

unread,
Mar 3, 2011, 1:41:19 PM3/3/11
to pickle
I'm having some trouble as well. Specifically, if I do this I get an
error:

And an email should be delivered to
"B...@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/review/nicole.feature:44:in `And an email should be
delivered to "B...@example.com"'

If I prefix the email step with another step:
And 1 email should be delivered

Then all the steps pass.

Ian White

unread,
Mar 14, 2011, 9:45:36 AM3/14/11
to pickle
I've added docs for email steps in the Readme in 0.4.6 (thanks to
Michael Moen for his work on this)

Karl Baum

unread,
Mar 14, 2011, 10:09:31 AM3/14/11
to pickle-...@googlegroups.com
Cool. Thanks!

> --
> You received this message because you are subscribed to the Google Groups "pickle" group.
> To post to this group, send email to pickle-...@googlegroups.com.
> To unsubscribe from this group, send email to pickle-cucumb...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pickle-cucumber?hl=en.
>

Reply all
Reply to author
Forward
0 new messages