Skip to content

Commit adc6a6a

Browse files
committed
Fix reverse_proxy_spec to match 86920da
1 parent 614111e commit adc6a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rack/reverse_proxy_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def app
4040
it "should set the Host header" do
4141
stub_request(:any, 'example.com/test/stuff')
4242
get '/test/stuff'
43-
a_request(:get, 'http://example.com/test/stuff').with(:headers => {"Host" => "example.com"}).should have_been_made
43+
a_request(:get, 'http://example.com/test/stuff').with(:headers => {"Host" => "example.com:80"}).should have_been_made
4444
end
4545

4646
it "should set the X-Forwarded-Host header to the proxying host by default" do

0 commit comments

Comments
 (0)