Skip to content
Browse files

Removed legacy test.

  • Loading branch information...
1 parent 87ca87d commit 046c22c8c171591fc15594f797b5aac676f3485d @miloops miloops committed Jul 20, 2009
Showing with 0 additions and 19 deletions.
  1. +0 −19 activerecord/test/cases/associations_test.rb
View
19 activerecord/test/cases/associations_test.rb
@@ -65,25 +65,6 @@ def test_force_reload
assert_equal 1, firm.clients(true).size, "New firm should have reloaded clients count"
end
- def test_storing_in_pstore
- require "tmpdir"
- store_filename = File.join(Dir.tmpdir, "ar-pstore-association-test")
- File.delete(store_filename) if File.exist?(store_filename)
- require "pstore"
- apple = Firm.create("name" => "Apple")
- natural = Client.new("name" => "Natural Company")
- apple.clients << natural
-
- db = PStore.new(store_filename)
- db.transaction do
- db["apple"] = apple
- end
-
- db = PStore.new(store_filename)
- db.transaction do
- assert_equal "Natural Company", db["apple"].clients.first.name
- end
- end
end
class AssociationProxyTest < ActiveRecord::TestCase

0 comments on commit 046c22c

Please sign in to comment.
Something went wrong with that request. Please try again.