Sha256: 41d96b466b5f699fa98344308407c5dd1bc5a19f4454f441cf3881cbd01d2f27

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

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.1 spec/unit/esearch/command/cluster/health/run_spec.rb