aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/rack_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-12-07 16:37:48 -0600
committerJoshua Peek <josh@joshpeek.com>2008-12-08 12:33:16 -0600
commitebec9d43e262d28d742ff10acd828bad6cbb28ed (patch)
treeb7396bddd14fe5fa242107b3b3be85bac65cf3cb /actionpack/test/controller/rack_test.rb
parente4eadf3910d04fcdcab3e084d249f3a881a3ca35 (diff)
downloadrails-ebec9d43e262d28d742ff10acd828bad6cbb28ed.tar.gz
rails-ebec9d43e262d28d742ff10acd828bad6cbb28ed.tar.bz2
rails-ebec9d43e262d28d742ff10acd828bad6cbb28ed.zip
Make integration test runner more Rack friendly and clean out old CGI cruft
Diffstat (limited to 'actionpack/test/controller/rack_test.rb')
-rw-r--r--actionpack/test/controller/rack_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/controller/rack_test.rb b/actionpack/test/controller/rack_test.rb
index 6a2c8a7a2a..641ef9626e 100644
--- a/actionpack/test/controller/rack_test.rb
+++ b/actionpack/test/controller/rack_test.rb
@@ -153,12 +153,12 @@ class RackRequestTest < BaseRackTest
def test_cookie_syntax_resilience
cookies = @request.cookies
- assert_equal ["c84ace84796670c052c6ceb2451fb0f2"], cookies["_session_id"], cookies.inspect
- assert_equal ["yes"], cookies["is_admin"], cookies.inspect
+ assert_equal "c84ace84796670c052c6ceb2451fb0f2", cookies["_session_id"], cookies.inspect
+ assert_equal "yes", cookies["is_admin"], cookies.inspect
alt_cookies = @alt_cookie_fmt_request.cookies
- assert_equal ["c84ace847,96670c052c6ceb2451fb0f2"], alt_cookies["_session_id"], alt_cookies.inspect
- assert_equal ["yes"], alt_cookies["is_admin"], alt_cookies.inspect
+ #assert_equal "c84ace847,96670c052c6ceb2451fb0f2", alt_cookies["_session_id"], alt_cookies.inspect
+ assert_equal "yes", alt_cookies["is_admin"], alt_cookies.inspect
end
end