spec/support/app/answer.rb in elasticsearch-model-7.2.1 vs spec/support/app/answer.rb in elasticsearch-model-8.0.0.pre
- old
+ new
@@ -21,10 +21,9 @@
belongs_to :question
JOIN_TYPE = 'answer'.freeze
index_name 'questions_and_answers'.freeze
- document_type 'doc'.freeze
before_create :randomize_id
def randomize_id
begin