Sha256: 1c11b155b2390d221c6010b7ded6f7e1d6b3efadd887918b96515ae8556bb508
Contents?: true
Size: 390 Bytes
Versions: 2
Compression:
Stored size: 390 Bytes
Contents
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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gitlab-elasticsearch-git-0.0.17 | spec/support/test_repository.rb |
gitlab-elasticsearch-git-0.0.16 | spec/support/test_repository.rb |