Sha256: a5daf79de43fd675a4d8cb567888bda688221870fa909b2b8eece37a7822eea4

Contents?: true

Size: 568 Bytes

Versions: 97

Compression:

Stored size: 568 Bytes

Contents

require 'test_helper'

module Elasticsearch
  module Test
    class WrapperGemTest < ::Test::Unit::TestCase

      context "Wrapper gem" do

        should "require all neccessary subgems" do
          assert defined? Elasticsearch::Client
          assert defined? Elasticsearch::API
        end

        should "mix the API into the client" do
          client = Elasticsearch::Client.new

          assert_respond_to client, :search
          assert_respond_to client, :cluster
          assert_respond_to client, :indices
        end

      end

    end
  end
end

Version data entries

97 entries across 97 versions & 7 rubygems

Version Path
elasticsearch-6.0.2 test/unit/wrapper_gem_test.rb
elasticsearch-6.0.1 test/unit/wrapper_gem_test.rb
elasticsearch-6.0.0 test/unit/wrapper_gem_test.rb
elasticsearch-1.1.3 test/unit/wrapper_gem_test.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/test/unit/wrapper_gem_test.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/test/unit/wrapper_gem_test.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/test/unit/wrapper_gem_test.rb
elasticsearch-5.0.4 test/unit/wrapper_gem_test.rb
elasticsearch-2.0.2 test/unit/wrapper_gem_test.rb
elasticsearch-5.0.3 test/unit/wrapper_gem_test.rb
elasticsearch-5.0.2 test/unit/wrapper_gem_test.rb
elasticsearch-5.0.1 test/unit/wrapper_gem_test.rb
elasticsearch-2.0.1 test/unit/wrapper_gem_test.rb
elasticsearch-1.1.2 test/unit/wrapper_gem_test.rb
elasticsearch-5.0.0 test/unit/wrapper_gem_test.rb
elasticsearch-5.0.0.pre test/unit/wrapper_gem_test.rb
elasticsearch-2.0.0 test/unit/wrapper_gem_test.rb
elasticsearch-1.1.0 test/unit/wrapper_gem_test.rb
elasticsearch-2.0.0.pre test/unit/wrapper_gem_test.rb
elasticsearch-1.1.pre test/unit/wrapper_gem_test.rb