spec/spec_helper.rb in search_flip-2.0.0.beta6 vs spec/spec_helper.rb in search_flip-2.0.0.beta7
- old
+ new
@@ -184,9 +184,13 @@
end
def self.index_name
"test"
end
+
+ def self.serialize(object)
+ { id: object.id }
+ end
end
TestIndex.delete_index if TestIndex.index_exists?