Cleaning up railties tests. Set RAILS_ROOT for Rails::Initializer if undefined.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2006-08-29 10:15:25 +00:00
parent d2ceb17508
commit b031198638
2 changed files with 10 additions and 0 deletions

@ -1,5 +1,7 @@
*SVN*
* Cleaning up railties tests. [Kevin Clark]
* Add Dependencies.load_once_paths. [Nicholas Seckar]
* Updated to script.aculo.us 1.6.2 [Thomas Fuchs]

@ -5,6 +5,14 @@
require 'active_support'
require 'initializer'
unless defined?(RAILS_ROOT)
module Rails
class Initializer
RAILS_ROOT = '.'
end
end
end
class PluginTest < Test::Unit::TestCase
class TestConfig < Rails::Configuration
protected