aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/i18n_with_controller_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2013-12-05 07:25:17 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2013-12-05 07:25:17 -0800
commit5086c8c2113b67eb893cb34882e06c8b83e7951c (patch)
tree1b84176e7e3fcfc2487a3310f49a87e2cd903ee5 /actionmailer/test/i18n_with_controller_test.rb
parent23d555a0abcbe5bb143928d33aaf66b38f63338b (diff)
parentd6eda3ef3c59e377670442cd7f36460dbdf389f5 (diff)
downloadrails-5086c8c2113b67eb893cb34882e06c8b83e7951c.tar.gz
rails-5086c8c2113b67eb893cb34882e06c8b83e7951c.tar.bz2
rails-5086c8c2113b67eb893cb34882e06c8b83e7951c.zip
Merge pull request #13189 from strzalek/retain-ap-av-dep
Retain ActionPack dependency on ActionView. Fixes #12979.
Diffstat (limited to 'actionmailer/test/i18n_with_controller_test.rb')
-rw-r--r--actionmailer/test/i18n_with_controller_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/actionmailer/test/i18n_with_controller_test.rb b/actionmailer/test/i18n_with_controller_test.rb
index ab5eaaa9d5..14a1b11b6d 100644
--- a/actionmailer/test/i18n_with_controller_test.rb
+++ b/actionmailer/test/i18n_with_controller_test.rb
@@ -15,9 +15,6 @@ class I18nTestMailer < ActionMailer::Base
end
end
-# Emulate AV railtie
-ActionController::Base.superclass.send(:include, ActionView::Layouts)
-
class TestController < ActionController::Base
def send_mail
I18nTestMailer.mail_with_i18n_subject("test@localhost").deliver