diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2015-05-04 11:08:37 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2015-05-04 11:08:37 +0100 |
commit | 21c74bd769f6c873453e9244b0de7ced40a532be (patch) | |
tree | 4fece6915e317b8e0d81ded032fc208c0eb776f7 /railties/test/application | |
parent | 60239f3e5a3303b4135e30469ba7dbf27890008d (diff) | |
download | rails-21c74bd769f6c873453e9244b0de7ced40a532be.tar.gz rails-21c74bd769f6c873453e9244b0de7ced40a532be.tar.bz2 rails-21c74bd769f6c873453e9244b0de7ced40a532be.zip |
Fix railties configuration test
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/configuration_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 8f5b2d0d68..14912326fc 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -690,7 +690,7 @@ module ApplicationTests _ = ActionMailer::Base - assert_equal [::MyPreviewMailInterceptor], ActionMailer::Base.preview_interceptors + assert_equal [ActionMailer::Previews::InlineAttachments, ::MyPreviewMailInterceptor], ActionMailer::Base.preview_interceptors end test "registers multiple preview interceptors with ActionMailer" do @@ -703,7 +703,7 @@ module ApplicationTests _ = ActionMailer::Base - assert_equal [MyPreviewMailInterceptor, MyOtherPreviewMailInterceptor], ActionMailer::Base.preview_interceptors + assert_equal [ActionMailer::Previews::InlineAttachments, MyPreviewMailInterceptor, MyOtherPreviewMailInterceptor], ActionMailer::Base.preview_interceptors end test "registers observers with ActionMailer" do |