Fixed condition.

This commit is contained in:
Martin Edenhofer 2015-04-06 01:35:07 +02:00
parent 604e0575dd
commit 698c1a34ea

View file

@ -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