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