summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorpboling2009-10-22 15:37:50 -0400
committerpboling2009-10-22 15:37:50 -0400
commit8ce7858e829bb409febe5da6e47fa7d2a691e3d2 (patch)
tree3303d67305f691c5dedc28f1e46758f7277ed5b3 /test
parente010096f2a9c1f5ddecbad998051b210ba47b3dd (diff)
downloadsms-fu-8ce7858e829bb409febe5da6e47fa7d2a691e3d2.tar.bz2
improved setting of RAILS_CONFIG_ROOT
Diffstat (limited to 'test')
-rw-r--r--test/test_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 0e5ef2c..835ebac 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -3,6 +3,7 @@ require 'rubygems'
require 'actionmailer'
+RAILS_ROOT = '.' unless defined?(RAILS_ROOT)
RAILS_ENV = 'test' unless defined?(RAILS_ENV)
RAILS_DEFAULT_LOGGER = Logger.new(StringIO.new) unless defined?(RAILS_DEFAULT_LOGGER)