diff options
| author | Luke Kanies <luke@madstop.com> | 2008-05-06 19:02:45 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-05-06 19:02:45 -0500 |
| commit | dd4d8684fc19adcb68c681ba1c446a737498cda0 (patch) | |
| tree | 7dfd898ef167982ea905a542fed6066fb78768b7 /spec/unit/network/http/webrick.rb | |
| parent | 57c753419ac4700ab87689a3e3c3eb7302fff693 (diff) | |
| download | puppet-dd4d8684fc19adcb68c681ba1c446a737498cda0.tar.gz puppet-dd4d8684fc19adcb68c681ba1c446a737498cda0.tar.xz puppet-dd4d8684fc19adcb68c681ba1c446a737498cda0.zip | |
Fixing the HttpPool module to get rid of an infinite loop.
We can't have the HttpPool class use the Indirector to see
if it has a cert available, because it might be being used to
try to download one, which would cause it to make an http instance,
which would cause it to... Well, you get the idea.
Adding and fixing a few other tests I ran into on the way.
Diffstat (limited to 'spec/unit/network/http/webrick.rb')
| -rw-r--r-- | spec/unit/network/http/webrick.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/network/http/webrick.rb b/spec/unit/network/http/webrick.rb index 58b0d9a3d..11b74ec3a 100644 --- a/spec/unit/network/http/webrick.rb +++ b/spec/unit/network/http/webrick.rb @@ -61,7 +61,6 @@ describe Puppet::Network::HTTP::WEBrick, "when turning on listening" do @server.expects(:setup_logger).returns(:Logger => :mylogger) WEBrick::HTTPServer.expects(:new).with {|args| - p args args[:Logger] == :mylogger }.returns(@mock_webrick) |
