Sha256: ab226244183fc1a7667372ecc0c7f37e5726b4a9238c1674b4d1002a75cafbee
Contents?: true
Size: 610 Bytes
Versions: 4
Compression:
Stored size: 610 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class ClusterRemoteInfoTest < ::Test::Unit::TestCase context "Cluster: Remote info" 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 '_remote/info', url assert_equal Hash.new, params assert_nil body true end.returns(FakeResponse.new) subject.cluster.remote_info end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems