Sha256: c6a7c0b1648f0c9f49387e76dbf0c7b63fc2765e396a86355c22ba8fff933968
Contents?: true
Size: 436 Bytes
Versions: 1
Compression:
Stored size: 436 Bytes
Contents
# encoding: UTF-8 require 'spec_helper' describe Esearch::Command::Document::Index, '.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, options) end expect_presenter(Esearch::Presenter::Document::Operation::Index) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
esearch-0.2.2 | spec/unit/esearch/command/document/index/run_spec.rb |