diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-07-20 16:53:48 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-07-20 16:53:48 -0300 |
commit | 046c22c8c171591fc15594f797b5aac676f3485d (patch) | |
tree | 4c8f61adc065092ab4c940ed0266ee6f425cb2fd /activerecord/test/cases | |
parent | 87ca87d63579ab27a3ef092afe9d689702060b0a (diff) | |
download | rails-046c22c8c171591fc15594f797b5aac676f3485d.tar.gz rails-046c22c8c171591fc15594f797b5aac676f3485d.tar.bz2 rails-046c22c8c171591fc15594f797b5aac676f3485d.zip |
Removed legacy test.
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/associations_test.rb | 19 |
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 |