diff options
author | Paul Lathrop <paul@tertiusfamily.net> | 2008-05-22 11:36:47 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-05-23 04:48:44 +1000 |
commit | e6837a41a728d22be9ded75c4470388ae2a1dd5b (patch) | |
tree | fd3b489e8fd63946647b2f83709775580fc32651 | |
parent | bdcf5db3cea4a4009839087c1b502dcce24eddd7 (diff) | |
download | puppet-e6837a41a728d22be9ded75c4470388ae2a1dd5b.tar.gz puppet-e6837a41a728d22be9ded75c4470388ae2a1dd5b.tar.xz puppet-e6837a41a728d22be9ded75c4470388ae2a1dd5b.zip |
Fixing an inaccurate test so the tests will run correctly in all branches.
-rwxr-xr-x | spec/unit/network/http_pool.rb | 4 |
1 files changed, 1 insertions, 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 |