aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/mail_service_test.rb
diff options
context:
space:
mode:
authorJosé Valim and Mikel Lindsaar <pair@programming.com>2010-01-22 11:01:21 +0100
committerJosé Valim and Mikel Lindsaar <pair@programming.com>2010-01-22 11:01:21 +0100
commit343ac48f45a433b2ef0dc67f9cd9d1245fb5ef2d (patch)
tree439992c4ec44061fb8ac71748a204cd459f0b335 /actionmailer/test/mail_service_test.rb
parent8a6a2ca712601a28087f78fb6080b05f526cb0fd (diff)
downloadrails-343ac48f45a433b2ef0dc67f9cd9d1245fb5ef2d.tar.gz
rails-343ac48f45a433b2ef0dc67f9cd9d1245fb5ef2d.tar.bz2
rails-343ac48f45a433b2ef0dc67f9cd9d1245fb5ef2d.zip
Moved deprecated_body.rb to deprecatead_api.rb
Diffstat (limited to 'actionmailer/test/mail_service_test.rb')
-rw-r--r--actionmailer/test/mail_service_test.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb
index 51d722ea00..ec820e3464 100644
--- a/actionmailer/test/mail_service_test.rb
+++ b/actionmailer/test/mail_service_test.rb
@@ -301,13 +301,6 @@ class TestMailer < ActionMailer::Base
render :text => "testing"
end
- def body_ivar(recipient)
- recipients recipient
- subject "Body as a local variable"
- from "test@example.com"
- body :body => "foo", :bar => "baz"
- end
-
def subject_with_i18n(recipient)
recipients recipient
from "system@loudthinking.com"
@@ -1080,11 +1073,6 @@ EOF
assert_equal "another@somewhere.test", MockSMTP.deliveries[0][1].to_s
end
- def test_body_is_stored_as_an_ivar
- mail = TestMailer.create_body_ivar(@recipient)
- assert_equal "body: foo\nbar: baz", mail.body.to_s
- end
-
def test_starttls_is_enabled_if_supported
ActionMailer::Base.delivery_settings[:smtp].merge!(:enable_starttls_auto => true)
MockSMTP.any_instance.expects(:respond_to?).with(:enable_starttls_auto).returns(true)