Sha256: 765f3bdf75ec31845c2a29626932d393d52b28729db99510aeb9a6ccaeaa1118
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
# # encoding: UTF-8 # encoding: UTF-8 require 'spec_helper' describe Esearch::Command::Document::Index::Update, '.run' do subject { object.run(context, document, options) } let(:object) { described_class } let(:document) { double('Document') } let(:options) { { foo: :bar } } let(:expected_request) do Esearch::Request.new(:post, '/foo', document, foo: :bar, op_type: :index) end expect_presenter(Esearch::Presenter::Document::Operation::Index) end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
esearch-0.2.2 | spec/unit/esearch/command/document/index/run_update_spec.rb |
esearch-0.2.2 | spec/unit/esearch/command/document/index/update/run_spec.rb |