diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-12-15 02:28:53 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-12-15 02:28:53 +0000 |
commit | 11dde5ca2fc81a785fd5234f8aeb2e7f98980939 (patch) | |
tree | 4e99716299a8455dd5596bd0d46615484c0ba306 /actionpack/test/controller | |
parent | 2703d55935f924744e776b7714e5b40c09eb84a6 (diff) | |
download | rails-11dde5ca2fc81a785fd5234f8aeb2e7f98980939.tar.gz rails-11dde5ca2fc81a785fd5234f8aeb2e7f98980939.tar.bz2 rails-11dde5ca2fc81a785fd5234f8aeb2e7f98980939.zip |
Ruby 1.9 compat: cookies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rwxr-xr-x | actionpack/test/controller/cgi_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/controller/cgi_test.rb b/actionpack/test/controller/cgi_test.rb index cf9d5d163e..021781df98 100755 --- a/actionpack/test/controller/cgi_test.rb +++ b/actionpack/test/controller/cgi_test.rb @@ -72,12 +72,12 @@ class CgiRequestTest < BaseCgiTest def test_cookie_syntax_resilience cookies = CGI::Cookie::parse(@request_hash["HTTP_COOKIE"]); - assert_equal ["c84ace84796670c052c6ceb2451fb0f2"], cookies["_session_id"] - assert_equal ["yes"], cookies["is_admin"] + assert_equal ["c84ace84796670c052c6ceb2451fb0f2"], cookies["_session_id"], cookies.inspect + assert_equal ["yes"], cookies["is_admin"], cookies.inspect alt_cookies = CGI::Cookie::parse(@alt_cookie_fmt_request_hash["HTTP_COOKIE"]); - assert_equal ["c84ace84796670c052c6ceb2451fb0f2"], alt_cookies["_session_id"] - assert_equal ["yes"], alt_cookies["is_admin"] + assert_equal ["c84ace84796670c052c6ceb2451fb0f2"], alt_cookies["_session_id"], alt_cookies.inspect + assert_equal ["yes"], alt_cookies["is_admin"], alt_cookies.inspect end end |