diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-09-30 14:12:43 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-09-30 14:13:58 +0530 |
commit | e81c427fe8a5bba8e5c8dd4b2a57c5e20b1c5fd0 (patch) | |
tree | a9a4c0a29a7351d5f9951f0876682065b28056d6 /railties/test/application | |
parent | d2888de5985c7018a5be23d44143ec3c6cef9032 (diff) | |
download | rails-e81c427fe8a5bba8e5c8dd4b2a57c5e20b1c5fd0.tar.gz rails-e81c427fe8a5bba8e5c8dd4b2a57c5e20b1c5fd0.tar.bz2 rails-e81c427fe8a5bba8e5c8dd4b2a57c5e20b1c5fd0.zip |
possibly useless use of :: in void context Warning removed
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/configuration_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 448982f9de..97ad47ac14 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -306,7 +306,7 @@ module ApplicationTests require "#{app_path}/config/environment" require "mail" - ActionMailer::Base + _ = ActionMailer::Base assert_equal [::MyMailInterceptor], ::Mail.send(:class_variable_get, "@@delivery_interceptors") end @@ -319,7 +319,7 @@ module ApplicationTests require "#{app_path}/config/environment" require "mail" - ActionMailer::Base + _ = ActionMailer::Base assert_equal [::MyMailInterceptor, ::MyOtherMailInterceptor], ::Mail.send(:class_variable_get, "@@delivery_interceptors") end @@ -332,7 +332,7 @@ module ApplicationTests require "#{app_path}/config/environment" require "mail" - ActionMailer::Base + _ = ActionMailer::Base assert_equal [::MyMailObserver], ::Mail.send(:class_variable_get, "@@delivery_notification_observers") end @@ -345,7 +345,7 @@ module ApplicationTests require "#{app_path}/config/environment" require "mail" - ActionMailer::Base + _ = ActionMailer::Base assert_equal [::MyMailObserver, ::MyOtherMailObserver], ::Mail.send(:class_variable_get, "@@delivery_notification_observers") end |