Sha256: c03be72c469f0e25c612da74f75263e81084908ebcc7049831bc2c2dfea11cb4
Contents?: true
Size: 608 Bytes
Versions: 61
Compression:
Stored size: 608 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class IndicesForcemergeTest < ::Test::Unit::TestCase context "Indices: Forcemerge" do subject { FakeClient.new } should "perform correct request" do subject.expects(:perform_request).with do |method, url, params, body| assert_equal 'POST', method assert_equal '_forcemerge', url assert_equal Hash.new, params assert_nil body true end.returns(FakeResponse.new) subject.indices.forcemerge end end end end end
Version data entries
61 entries across 61 versions & 6 rubygems