test/helpers/serialization_format.rb in identity_cache-0.2.5 vs test/helpers/serialization_format.rb in identity_cache-0.3.0
- old
+ new
@@ -22,10 +22,10 @@
Item.fetch(record.id)
IdentityCache.fetch(record.primary_cache_index_key)
end
def serialized_record_file
- File.expand_path("../../fixtures/serialized_record", __FILE__)
+ File.expand_path("../../fixtures/serialized_record.#{DatabaseConnection.db_name}", __FILE__)
end
def serialize(record, anIO = nil)
hash = {
:version => IdentityCache::CACHE_VERSION,