Sha256: e59686dd38d1d689a62fb2aa3142c2864df071c13ea804f2cf881779a2f6dcc0
Contents?: true
Size: 614 Bytes
Versions: 63
Compression:
Stored size: 614 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class IndicesShardStoresTest < ::Test::Unit::TestCase context "Indices: Shard stores" 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 '_shard_stores', url assert_equal Hash.new, params assert_nil body true end.returns(FakeResponse.new) subject.indices.shard_stores end end end end end
Version data entries
63 entries across 63 versions & 6 rubygems