summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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