Sha256: 307bf9f8608363a4c64f9e7a219d6cfb5f5b1f892192e4e0548a12c49a4e75aa
Contents?: true
Size: 583 Bytes
Versions: 77
Compression:
Stored size: 583 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class CatHealthTest < ::Test::Unit::TestCase context "Cat: Health" 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 '_cat/health', url assert_equal Hash.new, params assert_nil body true end.returns(FakeResponse.new) subject.cat.health end end end end end
Version data entries
77 entries across 77 versions & 6 rubygems