diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-08 02:31:12 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-08 02:31:12 -0700 |
commit | ba2d61dd8160237b2141ae24cf20db9b5301eb9d (patch) | |
tree | 1abaa4feae0f1d4cf8da3ec810988112639d0b76 /actionpack/test/controller/cgi_test.rb | |
parent | c24a7cdd230ee0005add73b9d57bc859ddb57f83 (diff) | |
download | rails-ba2d61dd8160237b2141ae24cf20db9b5301eb9d.tar.gz rails-ba2d61dd8160237b2141ae24cf20db9b5301eb9d.tar.bz2 rails-ba2d61dd8160237b2141ae24cf20db9b5301eb9d.zip |
Update tests for request memoization
Diffstat (limited to 'actionpack/test/controller/cgi_test.rb')
-rw-r--r-- | actionpack/test/controller/cgi_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/cgi_test.rb b/actionpack/test/controller/cgi_test.rb index 8ca70f8595..813171857a 100644 --- a/actionpack/test/controller/cgi_test.rb +++ b/actionpack/test/controller/cgi_test.rb @@ -75,7 +75,7 @@ class CgiRequestTest < BaseCgiTest assert_equal "rubyonrails.org:8080", @request.host_with_port @request_hash['HTTP_X_FORWARDED_HOST'] = "www.firsthost.org, www.secondhost.org" - assert_equal "www.secondhost.org", @request.host + assert_equal "www.secondhost.org", @request.host(true) end def test_http_host_with_default_port_overrides_server_port |