Sha256: 94949922f98cf8fc7c93fa416b2f4401bcf378a9074a09026cb947996298fe25
Contents?: true
Size: 431 Bytes
Versions: 5
Compression:
Stored size: 431 Bytes
Contents
RSpec.shared_context 'setup' do let(:uri) { "http://127.0.0.1:9200" } let(:conf) { ROM::Configuration.new(:elasticsearch, uri) } let(:container) { ROM.container(conf) } let(:gateway) { conf.gateways[:default] } let(:client) { gateway.client } let(:relations) { container[:relations] } let(:commands) { container[:commands] } after do client.indices.delete(index: :users) if gateway.index?(:users) end end
Version data entries
5 entries across 5 versions & 1 rubygems