Sha256: 380491f3657322454eac082ddadfb962ed15944a104953164820ce35455966a9
Contents?: true
Size: 418 Bytes
Versions: 1
Compression:
Stored size: 418 Bytes
Contents
require 'spec_helper' describe Esearch::Index, '#type' do subject { object.type(name) } let(:object) { described_class.new(connection, index_name) } let(:connection) { double('Connection') } let(:index_name) { 'foo' } let(:name) { 'bar' } it { should eql(Esearch::Type.new(object, name)) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
esearch-0.2.1 | spec/unit/esearch/index/type_spec.rb |