Sha256: 6486e5cef6a55777a509e026dae2ad7c5c46cb73f89bcd5155ccb750885fa84e
Contents?: true
Size: 642 Bytes
Versions: 7
Compression:
Stored size: 642 Bytes
Contents
describe Elastic::AppSearch::Client::Schema do include_context 'App Search Credentials' include_context 'Test Engine' let(:client) { Elastic::AppSearch::Client.new(client_options) } context '#get_schema' do before { client.update_schema(engine_name, 'title' => 'text') } subject { client.get_schema(engine_name) } it 'will retrieve a schema' do expect(subject).to(eq('title' => 'text')) end end context '#update_schema' do subject { client.update_schema(engine_name, 'square_km' => 'number') } it 'will update a schema' do expect(subject).to(eq('square_km' => 'number')) end end end
Version data entries
7 entries across 7 versions & 1 rubygems