Sha256: 207d910e9e6c14f0d640e2a5c8d90ac4f5e8382628685ebce68abd079787afa4

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

Given /^the following configuration$/ do |table|
  configuration = table.hashes[0]
  ModelNotifier.configure do
    recipients configuration[:recipient_email]
    model configuration[:model_to_watch][1..-1].to_sym
    subject configuration[:subject]
  end
end

Given /^a new ContactForm with$/ do |form|
  @contact_form = ContactForm.new(form.hashes[0])
end

When /^I save the contact form$/ do
  @contact_form.save
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bakedweb-model_notifier-0.2.0 features/step_definitions/model_notifier_steps.rb