Sha256: 1cd38daec676ddf8b0b2871de5ce348fe29d0e9100a15176ee11c23799f0533e
Contents?: true
Size: 493 Bytes
Versions: 10
Compression:
Stored size: 493 Bytes
Contents
Given(/^an email "(.*?)" with body: "(.*?)" is delivered to (.+?)$/) do |subject, body, to| Notifier.email(to, subject, body).deliver_now end Given(/^an email with a link "(.+?)" to (.+?) is delivered to (.+?)$/) do |text, page, to| body = "some text <a href='http://example.com/#{path_to(page)}'>#{text}</a> more text" Notifier.email(to, "example", body).deliver_now end Given(/^#{capture_model}'s email is delivered$/) do |model| Notifier.user_email(model!(model)).deliver_now end
Version data entries
10 entries across 10 versions & 1 rubygems