Fixed condition.
This commit is contained in:
parent
604e0575dd
commit
698c1a34ea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue