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