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

Version Path
elasticsearch-api-1.0.16.pre test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.15 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.14 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.13 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.12 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.11 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.10 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.9 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.7 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.6 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.5 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.4 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.2 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.1 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.0 test/unit/cluster/get_settings_test.rb
elasticsearch-api-0.4.11 test/unit/cluster/get_settings_test.rb
elasticsearch-api-0.4.10 test/unit/cluster/get_settings_test.rb
elasticsearch-api-0.4.9 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.0.rc2 test/unit/cluster/get_settings_test.rb
elasticsearch-api-1.0.0.rc1 test/unit/cluster/get_settings_test.rb