Sha256: 61fc07717462313ad608b4c3feffdac0ac68d326fafd989bd523c29ee34f5bb4
Contents?: true
Size: 320 Bytes
Versions: 3
Compression:
Stored size: 320 Bytes
Contents
# When 'I save and open the page' do save_and_open_page end Then /^show me the sent emails?$/ do pretty_emails = ActionMailer::Base.deliveries.map do |mail| <<-OUT To: #{mail.to.inspect} From: #{mail.from.inspect} Subject: #{mail.subject} Body: #{mail.body} . OUT end puts pretty_emails.join("\n") end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tsrails-2.0.3 | template/files/debug_steps.rb |
tsrails-2.0.2 | template/files/debug_steps.rb |
tsrails-2.0.0 | template/files/debug_steps.rb |