10gen-labs/mongo-connector — pull request #125 by HonzaKral (2014-05-19 11:28:46+00:00)
Title: Elasticsearch test refactorings

Changes:
* abstract connection behavior to ElasticsearchTestCase
* move _remove and _search methods to ElasticsearchTestCase
* remove index in tearDown to avoid test dependency

Related fixes:
* get_last_doc now runs on empty index correctly with latest ES
* test suite now always connects to the configured ES cluster