test/sample_mailer.rb in pboling-sanitize_email-0.3.0 vs test/sample_mailer.rb in pboling-sanitize_email-0.3.1
- old
+ new
@@ -1,15 +1,5 @@
-
-require 'rubygems'
-require 'action_mailer'
-
-# configure ActionMailer
-ActionMailer::Base.template_root = "."
-
-require File.join(File.dirname(__FILE__), "..", "lib", 'sanitize_email')
-
-
class SampleMailer < ActionMailer::Base
def gmail_override
@recipients = "to_real@email.com"
@cc = "cc_real@email.com"
@@ -29,6 +19,6 @@
part :content_type => "text/html", :body => "Hello there, multiple."
end
-end
\ No newline at end of file
+end