diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-07 21:50:39 -0500 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-07 21:50:39 -0500 |
commit | 0be5bc3f5981f11d81c24ccfb97863a69406cf9d (patch) | |
tree | 70d36bcd3d84ada55a1e346b6cb2cc36ebd344c4 /actionpack | |
parent | 425382d95fbc93efde52c7a1c369f3fbcba70b2e (diff) | |
download | rails-0be5bc3f5981f11d81c24ccfb97863a69406cf9d.tar.gz rails-0be5bc3f5981f11d81c24ccfb97863a69406cf9d.tar.bz2 rails-0be5bc3f5981f11d81c24ccfb97863a69406cf9d.zip |
Work around ruby 1.9 segfault
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/session/cookie_store_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/session/cookie_store_test.rb b/actionpack/test/controller/session/cookie_store_test.rb index 010c00fa14..30422314a1 100644 --- a/actionpack/test/controller/session/cookie_store_test.rb +++ b/actionpack/test/controller/session/cookie_store_test.rb @@ -266,6 +266,7 @@ class CookieStoreTest < Test::Unit::TestCase @options = self.class.default_session_options.merge(options) session = CGI::Session.new(cgi, @options) + ObjectSpace.undefine_finalizer(session) assert_nil cgi.output_hidden, "Output hidden params should be empty: #{cgi.output_hidden.inspect}" assert_nil cgi.output_cookies, "Output cookies should be empty: #{cgi.output_cookies.inspect}" |