в test.rb 
  config.action_mailer.delivery_method = :test