Sha256: f30787a6492666049617ac2c6a22efed44eda9de1cea67c4ac3b2d2e3fde0fb0
Contents?: true
Size: 594 Bytes
Versions: 57
Compression:
Stored size: 594 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class ReindexTest < ::Test::Unit::TestCase context "Reindex" 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 '_reindex', url assert_equal Hash.new, params assert_equal Hash.new, body true end.returns(FakeResponse.new) subject.reindex :body => {} end end end end end
Version data entries
57 entries across 57 versions & 6 rubygems