Undo of teardown.
This commit is contained in:
parent
6c541b3548
commit
adc801c6d1
1 changed files with 1 additions and 3 deletions
|
@ -351,9 +351,7 @@ class ElasticsearchTest < ActiveSupport::TestCase
|
||||||
assert(result.empty?, 'result should be empty')
|
assert(result.empty?, 'result should be empty')
|
||||||
assert(!result[0], 'record 1')
|
assert(!result[0], 'record 1')
|
||||||
|
|
||||||
end
|
# cleanup
|
||||||
|
|
||||||
teardown do
|
|
||||||
system('rake searchindex:drop')
|
system('rake searchindex:drop')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue