diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-02-20 05:57:00 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-02-20 05:57:00 +0000 |
commit | 5b5d2367923b5317022113bc03bef37b684f7721 (patch) | |
tree | 9fabe8ca04f77f8f0093bd71b168dbde6e5b3f22 /railties | |
parent | 44c169397a4241b924413de85eeee53b2a0216aa (diff) | |
download | rails-5b5d2367923b5317022113bc03bef37b684f7721.tar.gz rails-5b5d2367923b5317022113bc03bef37b684f7721.tar.bz2 rails-5b5d2367923b5317022113bc03bef37b684f7721.zip |
Sort the results to remove platform dependent test failures
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/plugin_locator_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/plugin_locator_test.rb b/railties/test/plugin_locator_test.rb index 46b386d59d..5f1dd991ea 100644 --- a/railties/test/plugin_locator_test.rb +++ b/railties/test/plugin_locator_test.rb @@ -47,12 +47,12 @@ uses_mocha "Plugin Locator Tests" do end def test_should_return_all_plugins_found_under_the_set_plugin_paths - assert_equal ["a", "acts_as_chunky_bacon", "plugin_with_no_lib_dir", "stubby"], @locator.plugins.map(&:name) + assert_equal ["a", "acts_as_chunky_bacon", "plugin_with_no_lib_dir", "stubby"].sort, @locator.plugins.map(&:name).sort end def test_should_find_plugins_only_under_the_plugin_paths_set_in_configuration @configuration.plugin_paths = [File.join(plugin_fixture_root_path, "default")] - assert_equal ["acts_as_chunky_bacon", "plugin_with_no_lib_dir", "stubby"], @locator.plugins.map(&:name) + assert_equal ["acts_as_chunky_bacon", "plugin_with_no_lib_dir", "stubby"].sort, @locator.plugins.map(&:name).sort @configuration.plugin_paths = [File.join(plugin_fixture_root_path, "alternate")] assert_equal ["a"], @locator.plugins.map(&:name) |