• Terri Chu's avatar
    Prepare Elastic indices before context, and delete index by query · 9da2b85e
    Terri Chu authored
    Add a new spec configuration that creates/deletes the
    index only before and after each context. In between
    execution, the Elasticsearch API DeleteByQuery is used
    to clear out any data in the index. This is a performance
    improvement for the specs that use it.
    9da2b85e
elastic.rb 1.95 KB