From cf01a9290e364ae65790b1ab5295991972df1397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 22 Sep 2008 09:20:51 +0200 Subject: [PATCH] Conditionally define RAILS_ROOT. --- test/test_helper.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 28c3e758..1d5e3107 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -18,5 +18,7 @@ require 'haml' require 'sass' # required because of Sass::Plugin -RAILS_ROOT = '.' -MERB_ENV = RAILS_ENV = 'testing' \ No newline at end of file +unless defined? RAILS_ROOT + RAILS_ROOT = '.' + MERB_ENV = RAILS_ENV = 'testing' +end \ No newline at end of file