aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-15 13:02:22 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-15 13:02:22 -0300
commit75fe384c81c68217f49dc5ccba408cdd00766f8d (patch)
tree8f097ae12962c4fc0f9c3b478214e62deb3b5489 /actionmailer/test
parent3229eda00c2a38526787fddb6cc307cfee5c5ac6 (diff)
downloadrails-75fe384c81c68217f49dc5ccba408cdd00766f8d.tar.gz
rails-75fe384c81c68217f49dc5ccba408cdd00766f8d.tar.bz2
rails-75fe384c81c68217f49dc5ccba408cdd00766f8d.zip
Rails is a module not a class
Diffstat (limited to 'actionmailer/test')
-rw-r--r--actionmailer/test/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/abstract_unit.rb b/actionmailer/test/abstract_unit.rb
index 93aae2807e..2e5242f0b1 100644
--- a/actionmailer/test/abstract_unit.rb
+++ b/actionmailer/test/abstract_unit.rb
@@ -26,7 +26,7 @@ I18n.enforce_available_locales = false
FIXTURE_LOAD_PATH = File.expand_path('fixtures', File.dirname(__FILE__))
ActionMailer::Base.view_paths = FIXTURE_LOAD_PATH
-class Rails
+module Rails
def self.root
File.expand_path('../', File.dirname(__FILE__))
end