Sha256: 06510beb5e8aabdcdc96141f397eade57fdb56f48ffce6aa94ca71237aea2092

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper'

describe Esearch::Cluster, '#index' do
  subject { object.index(name) }

  let(:object)     { described_class.new(connection) }
  let(:connection) { mock('Connection')              }
  let(:name)       { 'foo'                           }

  it { should eql(Esearch::Index.new(connection, name)) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esearch-0.2.0 spec/unit/esearch/cluster/index_spec.rb