Sha256: d95fe35ac4ce98f339b0f835d484bfd6236274fae9506fbdd8e17ba55941226d

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

# encoding: UTF-8

require 'spec_helper'

describe Esearch::Mixin::Index, '#refresh' do
  subject { object.refresh }

  let(:object) { class_under_test.new(connection) }

  let(:class_under_test) do
    Class.new do
      include Concord.new(:connection), Esearch::Mixin::Index
    end
  end

  let(:expected_arguments) { [] }
  expect_to_run_command(Esearch::Command::Index::Refresh)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esearch-0.2.2 spec/unit/esearch/mixin/index/refresh_spec.rb