<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,6 +19,20 @@ config.action_mailer.delivery_method = :test
 # Disable request forgery protection in test environment
 config.action_controller.allow_forgery_protection    = false
 
+# We store more than 4K of data in the session during some tests.
+# Override the hard-coded cookie session store to use a memory store for tests.
+# See http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/5519ca7fd4dde3c1
+class ActionController::RackRequest
+  DEFAULT_SESSION_OPTIONS = {
+    :database_manager =&gt; CGI::Session::MemoryStore, # store data in memory
+    :prefix           =&gt; &quot;ruby_sess.&quot;,    # prefix session file names
+    :session_path     =&gt; &quot;/&quot;,             # available to all paths in app
+    :session_key      =&gt; &quot;_session_id&quot;,
+    :cookie_only      =&gt; false,
+    :session_http_only=&gt; true
+  }
+end
+
 # Overwrite the default settings for fixtures in tests. See Fixtures 
 # for more details about these settings.
 # config.transactional_fixtures = true</diff>
      <filename>config/environments/test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>07426ebe54500d0b735d3a4614c331703ae6fe86</id>
    </parent>
  </parents>
  <author>
    <name>Eric Allen</name>
    <email>ericpallen@gmail.com</email>
  </author>
  <url>http://github.com/bsag/tracks/commit/b97fc2d9580a52f44547365d9afb91d6ecbcd457</url>
  <id>b97fc2d9580a52f44547365d9afb91d6ecbcd457</id>
  <committed-date>2009-01-26T09:36:12-08:00</committed-date>
  <authored-date>2009-01-26T09:36:12-08:00</authored-date>
  <message>Fixed failing integration tests by using MemoryStore instead of CookieStore for tests. See http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/5519ca7fd4dde3c1. Wohooo passing tests!</message>
  <tree>6c9a0be4b01adca8dc7016fce21dc1002b9cc3b3</tree>
  <committer>
    <name>Eric Allen</name>
    <email>ericpallen@gmail.com</email>
  </committer>
</commit>
