Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8915

Show
Ignore:
Timestamp:
02/20/08 05:57:00 (7 months ago)
Author:
nzkoz
Message:

Sort the results to remove platform dependent test failures

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/test/plugin_locator_test.rb

    r8568 r8915  
    4848   
    4949    def test_should_return_all_plugins_found_under_the_set_plugin_paths 
    50       assert_equal ["a", "acts_as_chunky_bacon", "plugin_with_no_lib_dir", "stubby"], @locator.plugins.map(&:name) 
     50      assert_equal ["a", "acts_as_chunky_bacon", "plugin_with_no_lib_dir", "stubby"].sort, @locator.plugins.map(&:name).sort 
    5151    end 
    5252   
    5353    def test_should_find_plugins_only_under_the_plugin_paths_set_in_configuration 
    5454      @configuration.plugin_paths = [File.join(plugin_fixture_root_path, "default")] 
    55       assert_equal ["acts_as_chunky_bacon", "plugin_with_no_lib_dir", "stubby"], @locator.plugins.map(&:name) 
     55      assert_equal ["acts_as_chunky_bacon", "plugin_with_no_lib_dir", "stubby"].sort, @locator.plugins.map(&:name).sort 
    5656     
    5757      @configuration.plugin_paths = [File.join(plugin_fixture_root_path, "alternate")]