Sha256: f64cda6ef4f242b98f2272bc3545ea7f608a0b33c8ce9d140fc966d8bec3dd26
Contents?: true
Size: 619 Bytes
Versions: 73
Compression:
Stored size: 619 Bytes
Contents
require 'test_helper' module Elasticsearch module Test class IndicesRecoveryTest < ::Test::Unit::TestCase context "Indices: Recovery" 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 'foo/_recovery', url assert_equal Hash.new, params assert_nil body true end.returns(FakeResponse.new) subject.indices.recovery :index => 'foo' end end end end end
Version data entries
73 entries across 73 versions & 6 rubygems