summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Lathrop <paul@tertiusfamily.net>2008-05-22 11:36:47 -0700
committerJames Turnbull <james@lovedthanlost.net>2008-05-23 04:48:44 +1000
commite6837a41a728d22be9ded75c4470388ae2a1dd5b (patch)
treefd3b489e8fd63946647b2f83709775580fc32651
parentbdcf5db3cea4a4009839087c1b502dcce24eddd7 (diff)
downloadpuppet-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-xspec/unit/network/http_pool.rb4
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