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