spec/spec_helper.rb in activesearch-0.0.12 vs spec/spec_helper.rb in activesearch-0.0.13

- old
+ new

@@ -16,9 +16,13 @@ def self.create(attrs) new(attrs).tap(&:save) end + def indexable_id + "#{self.class.to_s}_#{self.id}" + end + def type self.class.to_s end def save \ No newline at end of file