Sha256: 5792aabe4023e289f546a2fd7c29523db01409a845cb3aa19d2e3d93ae011a3d

Contents?: true

Size: 472 Bytes

Versions: 2

Compression:

Stored size: 472 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#segments' do

  let(:expected_args) do
    [
        'GET',
        '_cat/segments',
        {},
        nil,
        nil
    ]
  end

  it 'performs the request' do
    expect(client_double.cat.segments).to eq({})
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
elasticsearch-api-6.8.3 spec/elasticsearch/api/actions/cat/segments_spec.rb
elasticsearch-api-6.8.2 spec/elasticsearch/api/actions/cat/segments_spec.rb