Sha256: ff2b180f18b31ed0324f326ade366b0d82362f3bde5f55aa06acf4fc0dd372e1

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

# encoding: UTF-8

require 'spec_helper'

describe Esearch::Command::Cluster::Health, '.run' do
  subject { object.run(context, options) }

  let(:object)   { described_class   }
  let(:options)  { double('Options') }

  let(:expected_request) do
    Esearch::Request.new(:get, '/_cluster/health', {}, options)
  end

  expect_presenter(Esearch::Presenter::Cluster::Health)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esearch-0.2.2 spec/unit/esearch/command/cluster/health/run_spec.rb