Sha256: 12e09e0222d66993038bf1785d2cd77226f2e861663b97df4487fa2344b3ee64
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
When /I wait (\d+) seconds for mail to process/ do |count| sleep(count.to_i) end Then "I should have one email in my inbox" do pending end Then /^the email subject should match \/(.*)\/$/ do |subject_regexp| last_mailinator_email.should have_subject(Regexp.new(subject_regexp)) end Then /^the email body should match \/(.*)\/$/ do |body_regexp| last_mailinator_email.should have_body_text(Regexp.new(body_regexp)) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mailinator-spec-0.0.1 | lib/mailinator/steps.rb |