提交 b0311986 编写于 作者: J Jeremy Kemper

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
上级 d2ceb175
*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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册