Sha256: 5616bfd65e42451a96dadafa5f07fed252f263d2bd22224c5548d89864e253b7

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

# encoding: UTF-8

require 'spec_helper'

describe Esearch::Indices::All do
  let(:object)     { described_class.new(connection) }
  let(:connection) { double('Connection')            }

  describe '#path' do
    subject { object.path }

    it { should eql(Pathname.new('/_all')) }

    it_should_behave_like 'an idempotent method'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esearch-0.2.2 spec/unit/esearch/indices/all_spec.rb