diff options
author | Klaas Jan Wierenga <k.j.wierenga@gmail.com> | 2014-06-05 20:30:06 +0200 |
---|---|---|
committer | Klaas Jan Wierenga <k.j.wierenga@gmail.com> | 2014-06-07 23:43:02 +0200 |
commit | ac9ad11461d4c5afc497a1fbfc3d837bdc1f1853 (patch) | |
tree | 113296858f351aaf92b38de20207fbc776f24505 /spec/unit/rest_spec.rb | |
parent | fd407cddb17003ffcf7318a2f48ebce8084f9074 (diff) | |
download | chef-ac9ad11461d4c5afc497a1fbfc3d837bdc1f1853.tar.gz |
Default port HTTP port 80 is not passed on in the Host header.
Diffstat (limited to 'spec/unit/rest_spec.rb')
-rw-r--r-- | spec/unit/rest_spec.rb | 4 |
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" } |