Sha256: 819ff9f85c3917179f21ff0fd1afb3cd4cddf75a62cc049c2f2170c4ea227161
Contents?: true
Size: 571 Bytes
Versions: 27
Compression:
Stored size: 571 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class ScrollTest < ::Test::Unit::TestCase context "Scroll" do subject { FakeClient.new } should "perform correct request" do subject.expects(:perform_request).with do |method, url, params, body| assert_equal 'GET', method assert_equal '_search/scroll', url assert_equal 'cXVlcn...', body true end.returns(FakeResponse.new) subject.scroll :scroll_id => 'cXVlcn...' end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems