Sha256: 1b8a544deef1f3dce16a29bd28a0d3a23014fcdf3956c04c2ebaecb9b5b3555d

Contents?: true

Size: 496 Bytes

Versions: 4

Compression:

Stored size: 496 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#scroll' do

  let(:expected_args) do
    [
        'GET',
        '_search/scroll',
        { scroll_id: 'cXVlcn...' },
        nil
    ]
  end

  it 'performs the request' do
    expect(client_double.scroll(scroll_id: 'cXVlcn...')).to eq({})
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
elasticsearch-api-6.8.3 spec/elasticsearch/api/actions/scoll_spec.rb
elasticsearch-api-6.8.2 spec/elasticsearch/api/actions/scoll_spec.rb
elasticsearch-api-7.4.0 spec/elasticsearch/api/actions/scoll_spec.rb
elasticsearch-api-7.3.0 spec/elasticsearch/api/actions/scoll_spec.rb