Changeset 8915
- Timestamp:
- 02/20/08 05:57:00 (7 months ago)
- Files:
-
- trunk/railties/test/plugin_locator_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/test/plugin_locator_test.rb
r8568 r8915 48 48 49 49 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 51 51 end 52 52 53 53 def test_should_find_plugins_only_under_the_plugin_paths_set_in_configuration 54 54 @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 56 56 57 57 @configuration.plugin_paths = [File.join(plugin_fixture_root_path, "alternate")]