aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord/active_record_store_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-04-30 06:28:22 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-02 21:54:41 -0300
commit393c652cf63875f2728c04d47b34b2d6ae908186 (patch)
tree2dd0f99ad31d084906b9a96a9a9516bbedcdc6ef /actionpack/test/activerecord/active_record_store_test.rb
parente23b26cfda35f68e134ab76ce5a5d98f8bd7a797 (diff)
downloadrails-393c652cf63875f2728c04d47b34b2d6ae908186.tar.gz
rails-393c652cf63875f2728c04d47b34b2d6ae908186.tar.bz2
rails-393c652cf63875f2728c04d47b34b2d6ae908186.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/activerecord/active_record_store_test.rb')
-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 768ac713ca..6dc2eaff54 100644
--- a/actionpack/test/activerecord/active_record_store_test.rb
+++ b/actionpack/test/activerecord/active_record_store_test.rb
@@ -256,6 +256,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 = {})