diff options
Diffstat (limited to 'test/test_plugins_priority.rb')
-rw-r--r-- | test/test_plugins_priority.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_plugins_priority.rb b/test/test_plugins_priority.rb index b5d3450f..ab66a62d 100644 --- a/test/test_plugins_priority.rb +++ b/test/test_plugins_priority.rb @@ -46,7 +46,7 @@ class PluginsPriorityTest < Test::Unit::TestCase @mock3 = MockModule.new(3) @mock4 = MockModule.new(4) @mock5 = MockModule.new(5) - + # This whole thing is a PITA because PluginManagerClass is a singleton unless @@manager @@manager = PluginManagerClass.instance @@ -63,7 +63,7 @@ class PluginsPriorityTest < Test::Unit::TestCase @@manager.instance_eval { @sort_call_count = nil } @@manager.mark_priorities_dirty - # We add the modules to the lists in the wrong order + # We add the modules to the lists in the wrong order # on purpose to make sure the sort is working @@manager.plugins.clear @@manager.core_modules.clear @@ -81,7 +81,7 @@ class PluginsPriorityTest < Test::Unit::TestCase dlist << @mock2 dlist << @mock5 end - + def test_default_priority plugin = TestRealBotModule.new assert_equal 1, plugin.priority |