Sha256: 6b144fcaabcd4b77f8a94e598a3adcf9221ebd4cac64fb599124375677d110a7
Contents?: true
Size: 441 Bytes
Versions: 2
Compression:
Stored size: 441 Bytes
Contents
# require this in your env.rb file after you require cucumber/rails/world %w[steps].each do |file| require File.join(File.dirname(__FILE__), "email_spec_#{file}.rb") end # Global Setup ActionMailer::Base.delivery_method = :test ActionMailer::Base.perform_deliveries = true Before do # Scenario setup ActionMailer::Base.deliveries.clear end World do |world| world.extend EmailSpec::Helpers world.extend EmailSpec::Matchers end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
mischa-email-spec-0.0.1 | lib/email_spec/email_spec_feature_setup.rb |
mischa-email_spec-0.0.1 | lib/email_spec/email_spec_feature_setup.rb |