Sha256: 59bc3bd090f857537efc3d69dc11dc11926e03b480a1f3cf6d0112185eb2cbd3
Contents?: true
Size: 594 Bytes
Versions: 73
Compression:
Stored size: 594 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class SearchShardsTest < ::Test::Unit::TestCase context "Search shards" 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_shards', url assert_equal Hash.new, params assert_nil body true end.returns(FakeResponse.new) subject.search_shards end end end end end
Version data entries
73 entries across 73 versions & 6 rubygems