Sha256: 4acec9a30557814707e925dc62afe4c59f248da4002a2db8c6160d5fba223f6c
Contents?: true
Size: 788 Bytes
Versions: 8
Compression:
Stored size: 788 Bytes
Contents
# Licensed to Elasticsearch B.V under one or more agreements. # Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information require 'spec_helper' describe 'client.cat#fielddata' do let(:expected_args) do [ 'GET', '_cat/fielddata', {}, nil, nil ] end it 'performs the request' do expect(client_double.cat.fielddata).to eq({}) end context 'when field are specified' do let(:expected_args) do [ 'GET', '_cat/fielddata/foo,bar', {}, nil, nil ] end it 'performs the request' do expect(client_double.cat.fielddata(fields: ['foo', 'bar'])).to eq({}) end end end
Version data entries
8 entries across 8 versions & 1 rubygems