Sha256: c32721d93a9eb2e898da22bfec095eb691fb2eaeeae09a61a93d4c33871cb466

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

# encoding: UTF-8

require 'spec_helper'

describe Esearch::Mixin::Exist, '#exist?' do
  subject { object.exist? }

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esearch-0.2.2 spec/unit/esearch/mixin/exist/exist_predicate_spec.rb