Sha256: 2f364699745c22a67a1b142a831635e4d6ac1653fe0e239f999f42c57c799678
Contents?: true
Size: 651 Bytes
Versions: 57
Compression:
Stored size: 651 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class ClusterAllocationExplainTest < ::Test::Unit::TestCase context "Cluster: Allocation explain" 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 '_cluster/allocation/explain', url assert_equal Hash.new, params assert_equal nil, body true end.returns(FakeResponse.new) subject.cluster.allocation_explain end end end end end
Version data entries
57 entries across 57 versions & 6 rubygems