diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/test/plugin_test.rb | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 6f36cb541f..7c4fcf130d 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -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] diff --git a/railties/test/plugin_test.rb b/railties/test/plugin_test.rb index 54eea13538..5ab1e15414 100644 --- a/railties/test/plugin_test.rb +++ b/railties/test/plugin_test.rb @@ -5,6 +5,14 @@ require 'test/unit' 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 |