Sha256: a7be958dfe8b26359f8f46d385f81097d8b7ffe8d89af31e784d2e8e351de113
Contents?: true
Size: 595 Bytes
Versions: 57
Compression:
Stored size: 595 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class ClusterStatsTest < ::Test::Unit::TestCase context "Cluster: Stats" 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/stats', url assert_equal Hash.new, params assert_nil body true end.returns(FakeResponse.new) subject.cluster.stats end end end end end
Version data entries
57 entries across 57 versions & 6 rubygems