aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-10-14 19:32:09 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-10-14 19:32:09 -0700
commitc09a5ffea7780a0f940f3f963c892f0ae1316802 (patch)
treee5908025ddccf62dc183f6e6ced4d87bf265b28a /activerecord/test/cases/associations_test.rb
parenta9f9ae385e2145b7f0d1ae43a7b66ed280b220b9 (diff)
parent6eee1dd62c85e23d84f16e8f300d8aba77bd5c64 (diff)
downloadrails-c09a5ffea7780a0f940f3f963c892f0ae1316802.tar.gz
rails-c09a5ffea7780a0f940f3f963c892f0ae1316802.tar.bz2
rails-c09a5ffea7780a0f940f3f963c892f0ae1316802.zip
Merge branch 'arel'
Diffstat (limited to 'activerecord/test/cases/associations_test.rb')
-rw-r--r--activerecord/test/cases/associations_test.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/activerecord/test/cases/associations_test.rb b/activerecord/test/cases/associations_test.rb
index 056a29438a..e429c1d157 100644
--- a/activerecord/test/cases/associations_test.rb
+++ b/activerecord/test/cases/associations_test.rb
@@ -65,25 +65,6 @@ class AssociationsTest < ActiveRecord::TestCase
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