diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-25 10:38:17 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-25 10:38:17 +0200 |
commit | b72d9667070521f2b40a3b307d7e5c7c66f83385 (patch) | |
tree | c065114f5c58ecf0594ad4a4b59483b031cda752 /railties/test/plugin_locator_test.rb | |
parent | 8843b91da70d7e4a51f7337db218489a5713dc16 (diff) | |
parent | 3aad4d7fbec6b0881733d3a9b2aff756f775ad35 (diff) | |
download | rails-b72d9667070521f2b40a3b307d7e5c7c66f83385.tar.gz rails-b72d9667070521f2b40a3b307d7e5c7c66f83385.tar.bz2 rails-b72d9667070521f2b40a3b307d7e5c7c66f83385.zip |
Merge branch 'master' of git://github.com/rails/rails
Diffstat (limited to 'railties/test/plugin_locator_test.rb')
-rw-r--r-- | railties/test/plugin_locator_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/plugin_locator_test.rb b/railties/test/plugin_locator_test.rb index 855ac7d82f..da1548dee1 100644 --- a/railties/test/plugin_locator_test.rb +++ b/railties/test/plugin_locator_test.rb @@ -27,7 +27,8 @@ class PluginFileSystemLocatorTest < Test::Unit::TestCase # We need to add our testing plugin directory to the plugin paths so # the locator knows where to look for our plugins @configuration.plugin_paths << plugin_fixture_root_path - @initializer = Rails::Initializer.new(@configuration) + @initializer = Rails::Initializer.default + @initializer.config = @configuration @locator = Rails::Plugin::FileSystemLocator.new(@initializer) @valid_plugin_path = plugin_fixture_path('default/stubby') @empty_plugin_path = plugin_fixture_path('default/empty') |