test/fetch_test.rb in identity_cache-0.0.2 vs test/fetch_test.rb in identity_cache-0.0.3

- old
+ new

@@ -7,10 +7,10 @@ Record.cache_index :id, :title, :unique => true @record = Record.new @record.id = 1 @record.title = 'bob' - @blob_key = "IDC:blob:Record:#{cache_hash("created_at:datetime,id:integer,title:string,updated_at:datetime")}:1" + @blob_key = "IDC:blob:Record:#{cache_hash("created_at:datetime,id:integer,record_id:integer,title:string,updated_at:datetime")}:1" @index_key = "IDC:index:Record:title:#{cache_hash('bob')}" end def test_fetch_cache_hit