aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/plugins/vendored_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-01-05 23:37:40 -0600
committerJoshua Peek <josh@joshpeek.com>2010-01-05 23:37:40 -0600
commitbbe80ae6525ec0c3da22b8d3a598af4126db1a57 (patch)
treed099ce88368a1d1baedb18a27f0a16f7c4fa91c7 /railties/test/plugins/vendored_test.rb
parent10389a4c29c5b17083a7fa43b97334b4ea811ec8 (diff)
downloadrails-bbe80ae6525ec0c3da22b8d3a598af4126db1a57.tar.gz
rails-bbe80ae6525ec0c3da22b8d3a598af4126db1a57.tar.bz2
rails-bbe80ae6525ec0c3da22b8d3a598af4126db1a57.zip
config.plugins should still work with an array of strings
Diffstat (limited to 'railties/test/plugins/vendored_test.rb')
-rw-r--r--railties/test/plugins/vendored_test.rb8
1 files changed, 7 insertions, 1 deletions
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