diff --git a/test/client/reindex_test.rb b/test/client/reindex_test.rb index d8d249a2..6da40505 100644 --- a/test/client/reindex_test.rb +++ b/test/client/reindex_test.rb @@ -40,7 +40,7 @@ @dest_index.refresh # Verify that the document has been reindexed - doc = @dest_index.docs.get(id: 1, type: "book") + doc = @dest_index.docs.get(id: 1, type: "title") puts "Document in Destination Index: #{doc}" assert_equal "Book 1", doc["_source"]["title"]