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:
parent
d2ceb17508
commit
b031198638
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user