diff --git a/test/integration/elasticsearch_test.rb b/test/integration/elasticsearch_test.rb index 56d214431..c3b665c26 100644 --- a/test/integration/elasticsearch_test.rb +++ b/test/integration/elasticsearch_test.rb @@ -260,7 +260,7 @@ class ElasticsearchTest < ActiveSupport::TestCase ) assert(!result.empty?, 'result should not be empty') assert(result[0], 'record 1') - assert(!result[0], 'record 2') + assert(!result[1], 'record 2') assert_equal(result[0].id, customer1.id) # search as customer1