summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaas Jan Wierenga <k.j.wierenga@gmail.com>2014-06-05 20:30:06 +0200
committerKlaas Jan Wierenga <k.j.wierenga@gmail.com>2014-06-07 23:43:02 +0200
commitac9ad11461d4c5afc497a1fbfc3d837bdc1f1853 (patch)
tree113296858f351aaf92b38de20207fbc776f24505
parentfd407cddb17003ffcf7318a2f48ebce8084f9074 (diff)
downloadchef-ac9ad11461d4c5afc497a1fbfc3d837bdc1f1853.tar.gz
Default port HTTP port 80 is not passed on in the Host header.
-rw-r--r--spec/unit/rest_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/rest_spec.rb b/spec/unit/rest_spec.rb
index a8eb1ac7db..f20672ef25 100644
--- a/spec/unit/rest_spec.rb
+++ b/spec/unit/rest_spec.rb
@@ -247,9 +247,9 @@ describe Chef::REST do
http_response
end
- let(:host_header) { "one:80" }
+ let(:host_header) { "one" }
- let(:url) { URI.parse("https://one:80/?foo=bar") }
+ let(:url) { URI.parse("http://one:80/?foo=bar") }
let(:base_url) { "http://chef.example.com:4000" }