raise 'not finished' # # Mail # RSpec::Core::ExampleGroup.class_eval do def self.with_mail raise 'not implemented' end def clear_mail # ActionMailer::Base.delivery_method = :test # ActionMailer::Base.perform_deliveries = true # ActionMailer::Base.deliveries = [] end def sent_letters # ActionMailer::Base.deliveries end end