Sha256: 67425240bd5182af1ed798ccaf85a44c314949798dbe06ac59ef2ff0e8b7c5d9
Contents?: true
Size: 587 Bytes
Versions: 38
Compression:
Stored size: 587 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class RemoteInfoTest < ::Test::Unit::TestCase context "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.remote.info end end end end end
Version data entries
38 entries across 38 versions & 5 rubygems