Sha256: 710a8459e07608a29b9c3ad1d031061bdc5891a36e14753dcfd0b5450ba81367
Contents?: true
Size: 481 Bytes
Versions: 11
Compression:
Stored size: 481 Bytes
Contents
Given(/^an email "(.*?)" with body: "(.*?)" is delivered to (.+?)$/) do |subject, body, to| Notifier.email(to, subject, body).deliver 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 end Given(/^#{capture_model}'s email is delivered$/) do |model| Notifier.user_email(model!(model)).deliver end
Version data entries
11 entries across 11 versions & 2 rubygems