aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/plugin_test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/plugin_test_helper.rb')
-rw-r--r--railties/test/plugin_test_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/test/plugin_test_helper.rb b/railties/test/plugin_test_helper.rb
index 58649ea2fa..0b065a5444 100644
--- a/railties/test/plugin_test_helper.rb
+++ b/railties/test/plugin_test_helper.rb
@@ -11,4 +11,8 @@ class Test::Unit::TestCase
def plugin_fixture_root_path
File.join(File.dirname(__FILE__), 'fixtures', 'plugins')
end
+
+ def only_load_the_following_plugins!(plugins)
+ @initializer.configuration.plugins = plugins
+ end
end \ No newline at end of file