aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/old_base/mail_layout_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionmailer/test/old_base/mail_layout_test.rb')
-rw-r--r--actionmailer/test/old_base/mail_layout_test.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/actionmailer/test/old_base/mail_layout_test.rb b/actionmailer/test/old_base/mail_layout_test.rb
index c69252efa9..5679aa5a64 100644
--- a/actionmailer/test/old_base/mail_layout_test.rb
+++ b/actionmailer/test/old_base/mail_layout_test.rb
@@ -51,16 +51,6 @@ class ExplicitLayoutMailer < ActionMailer::Base
end
end
-class NestedLayoutMailer < ActionMailer::Base
- layout 'nested/layouts/spam'
-
- def signup
- recipients 'test@localhost'
- subject "You have a mail"
- from "tester@example.com"
- end
-end
-
class LayoutMailerTest < Test::Unit::TestCase
def setup
set_delivery_method :test
@@ -155,9 +145,4 @@ class LayoutMailerTest < Test::Unit::TestCase
mail = ExplicitLayoutMailer.logout
assert_equal "You logged out", mail.body.to_s.strip
end
-
- def test_nested_class_layout
- mail = NestedLayoutMailer.signup
- assert_equal "Nested Spammer layout We do not spam", mail.body.to_s.strip
- end
end