summaryrefslogtreecommitdiff
path: root/spec/unit/knife_spec.rb
diff options
context:
space:
mode:
authorKlaas Jan Wierenga <k.j.wierenga@gmail.com>2014-06-07 23:46:41 +0200
committerKlaas Jan Wierenga <k.j.wierenga@gmail.com>2014-06-07 23:46:41 +0200
commit07490c0439fd3ede1c9237f53347280fa54c00eb (patch)
tree33fef69cfda7005543ddb5aa61a04f2c5addf3ac /spec/unit/knife_spec.rb
parentac9ad11461d4c5afc497a1fbfc3d837bdc1f1853 (diff)
downloadchef-07490c0439fd3ede1c9237f53347280fa54c00eb.tar.gz
Request on https scheme no longer sets default 443 port in Host header.
Diffstat (limited to 'spec/unit/knife_spec.rb')
-rw-r--r--spec/unit/knife_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife_spec.rb b/spec/unit/knife_spec.rb
index ce10d72a35..52784741d7 100644
--- a/spec/unit/knife_spec.rb
+++ b/spec/unit/knife_spec.rb
@@ -150,7 +150,7 @@ describe Chef::Knife do
let(:headers) {{"Accept"=>"application/json",
"Accept-Encoding"=>"gzip;q=1.0,deflate;q=0.6,identity;q=0.3",
'X-Chef-Version' => Chef::VERSION,
- "Host"=>"api.opscode.piab:443",
+ "Host"=>"api.opscode.piab",
"X-REMOTE-REQUEST-ID"=>request_id}}
let(:request_id) {"1234"}