From e6837a41a728d22be9ded75c4470388ae2a1dd5b Mon Sep 17 00:00:00 2001 From: Paul Lathrop Date: Thu, 22 May 2008 11:36:47 -0700 Subject: Fixing an inaccurate test so the tests will run correctly in all branches. --- spec/unit/network/http_pool.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/unit/network/http_pool.rb b/spec/unit/network/http_pool.rb index 3c52c8613..0c67082c6 100755 --- a/spec/unit/network/http_pool.rb +++ b/spec/unit/network/http_pool.rb @@ -141,10 +141,8 @@ describe Puppet::Network::HttpPool, " when adding certificate information to htt Puppet.settings[:http_enable_post_connection_check].should be_true end - # JJM: I'm not sure if this is correct, as this really follows the - # configuration option. it "should set enable_post_connection_check true " do - Puppet::Network::HttpPool.http_instance("me", 54321).instance_variable_get("@enable_post_connection_check").should be_true + Puppet::Network::HttpPool.http_instance("me", 54321).instance_variable_get("@enable_post_connection_check").should be(Puppet.settings[:http_enable_post_connection_check]) end it "should create the http instance with the proxy host and port set if the http_proxy is not set to 'none'" do -- cgit