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

Version Path
pickle-0.5.3 features/step_definitions/extra_email_steps.rb
pickle-0.5.2 features/step_definitions/extra_email_steps.rb
spbtv_pickle-0.5.2 features/step_definitions/extra_email_steps.rb
spbtv_pickle-0.5.1 features/step_definitions/extra_email_steps.rb
pickle-0.5.1 features/step_definitions/extra_email_steps.rb
pickle-0.5.0 features/step_definitions/extra_email_steps.rb
pickle-0.4.11 features/step_definitions/extra_email_steps.rb
pickle-0.4.10 features/step_definitions/extra_email_steps.rb
pickle-0.4.9 features/step_definitions/extra_email_steps.rb
pickle-0.4.8 features/step_definitions/extra_email_steps.rb
pickle-0.4.7 features/step_definitions/extra_email_steps.rb