class TestRepository include Elasticsearch::Git::Repository CLIENT = Elasticsearch::Client.new( host: (ENV['ELASTICSEARCH_HOST'] || 'localhost') ) self.__elasticsearch__.client = CLIENT def initialize(id = 'test_1') @repo_id = id end def client_for_indexing CLIENT end def repository_id @repo_id end def path_to_repo TEST_REPO_PATH end end