aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/session/cookie_store_test.rb
diff options
context:
space:
mode:
authorJay Pignata <john.pignata@gmail.com>2009-09-03 11:50:01 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-03 11:50:01 -0500
commite0f1a7dc191ffebc9f6cadb6232e567fee8aa491 (patch)
treeec7894f3366b5b9671f1082a5d8643eb7111aba8 /actionpack/test/dispatch/session/cookie_store_test.rb
parentf416f9f0aef654fea94cae10027aca866d07c659 (diff)
downloadrails-e0f1a7dc191ffebc9f6cadb6232e567fee8aa491.tar.gz
rails-e0f1a7dc191ffebc9f6cadb6232e567fee8aa491.tar.bz2
rails-e0f1a7dc191ffebc9f6cadb6232e567fee8aa491.zip
If session_options[:id] is requested when using CookieStore, unmarshal the session to access it [#2268 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/test/dispatch/session/cookie_store_test.rb')
-rw-r--r--actionpack/test/dispatch/session/cookie_store_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/session/cookie_store_test.rb b/actionpack/test/dispatch/session/cookie_store_test.rb
index 0723a76d2b..d695be0be4 100644
--- a/actionpack/test/dispatch/session/cookie_store_test.rb
+++ b/actionpack/test/dispatch/session/cookie_store_test.rb
@@ -30,7 +30,7 @@ class CookieStoreTest < ActionController::IntegrationTest
end
def get_session_id
- render :text => "foo: #{session[:foo].inspect}; id: #{request.session_options[:id]}"
+ render :text => "id: #{request.session_options[:id]}"
end
def call_reset_session
@@ -119,7 +119,7 @@ class CookieStoreTest < ActionController::IntegrationTest
get '/get_session_id'
assert_response :success
- assert_equal "foo: \"bar\"; id: #{session_id}", response.body
+ assert_equal "id: #{session_id}", response.body
end
end