mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Removed a debugging printout and fixed a failing test related to plugins.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@69 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
5e943d1fbc
commit
c2efd0fcc1
2 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ module Mongrel
|
|||
# is fast.
|
||||
def create(name, options = {})
|
||||
category, plugin, map = @plugins.resolve(name)
|
||||
STDERR.puts "found: #{category} #{plugin} #{map.inspect} #{map[plugin].inspect}"
|
||||
|
||||
if category and plugin and plugin.length > 0
|
||||
map[plugin].new(options)
|
||||
else
|
||||
|
|
|
@ -12,7 +12,7 @@ class PluginTest < Test::Unit::TestCase
|
|||
def setup
|
||||
@pmgr = PluginManager.instance
|
||||
@categories = ["/commands"]
|
||||
@names = ["/first","/second","/last"]
|
||||
@names = ["/first","/second","/last", "/atestplugin"]
|
||||
end
|
||||
|
||||
def test_load_plugins
|
||||
|
|
Loading…
Reference in a new issue