From bbe80ae6525ec0c3da22b8d3a598af4126db1a57 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 5 Jan 2010 23:37:40 -0600 Subject: config.plugins should still work with an array of strings --- railties/test/plugins/vendored_test.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'railties/test/plugins/vendored_test.rb') diff --git a/railties/test/plugins/vendored_test.rb b/railties/test/plugins/vendored_test.rb index 9a2d40cad8..b3b85891b2 100644 --- a/railties/test/plugins/vendored_test.rb +++ b/railties/test/plugins/vendored_test.rb @@ -191,5 +191,11 @@ module PluginsTest boot_rails assert_equal [:a, :c, :b], $arr end + + test "plugin order array is strings" do + add_to_config "config.plugins = %w( c_plugin all )" + boot_rails + assert_equal [:c, :a, :b], $arr + end end -end \ No newline at end of file +end -- cgit v1.2.3