aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/plugin_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/plugin_test.rb')
-rw-r--r--railties/test/plugin_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/plugin_test.rb b/railties/test/plugin_test.rb
index a6c390a45a..ae03ea4662 100644
--- a/railties/test/plugin_test.rb
+++ b/railties/test/plugin_test.rb
@@ -2,7 +2,8 @@ require 'plugin_test_helper'
class PluginTest < Test::Unit::TestCase
def setup
- @initializer = Rails::Initializer.new(Rails::Configuration.new)
+ @initializer = Rails::Initializer.default
+ @initializer.config = Rails::Configuration.new
@valid_plugin_path = plugin_fixture_path('default/stubby')
@empty_plugin_path = plugin_fixture_path('default/empty')
@gemlike_plugin_path = plugin_fixture_path('default/gemlike')