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