aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-04-30 06:28:22 -0700
committerJosé Valim <jose.valim@gmail.com>2012-04-30 06:28:22 -0700
commitbca9a9e926db11c5c9a438493d49317146c64fb6 (patch)
treebd2673e72528d07c93ea128991083b0faab1a713 /actionpack/test
parent09de707f258829030e643fad872a882eaa8ed190 (diff)
parent41219386268f670399a905c11e28b1ef76939ee1 (diff)
downloadrails-bca9a9e926db11c5c9a438493d49317146c64fb6.tar.gz
rails-bca9a9e926db11c5c9a438493d49317146c64fb6.tar.bz2
rails-bca9a9e926db11c5c9a438493d49317146c64fb6.zip
Merge pull request #6084 from brainopia/support_for_magic_domain_on_all_stores
Support cookie jar options for all cookie stores
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/activerecord/active_record_store_test.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionpack/test/activerecord/active_record_store_test.rb b/actionpack/test/activerecord/active_record_store_test.rb
index fceebe1858..275f25f597 100644
--- a/actionpack/test/activerecord/active_record_store_test.rb
+++ b/actionpack/test/activerecord/active_record_store_test.rb
@@ -254,6 +254,13 @@ class ActiveRecordStoreTest < ActionDispatch::IntegrationTest
end
end
+ def test_session_store_with_all_domains
+ with_test_route_set(:domain => :all) do
+ get '/set_session_value'
+ assert_response :success
+ end
+ end
+
private
def with_test_route_set(options = {})