Sha256: f2369fa0bee2360b770b866278bb7680993daeaf2ad5933091b7f446d05fcdfa
Contents?: true
Size: 554 Bytes
Versions: 90
Compression:
Stored size: 554 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class InfoTest < ::Test::Unit::TestCase context "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 '', url assert_equal Hash.new, params assert_nil body true end.returns(FakeResponse.new) subject.info end end end end end
Version data entries
90 entries across 90 versions & 6 rubygems