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-1.0.1 test/unit/wrapper_gem_test.rb
elasticsearch-1.0.0 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.11 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.10 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.9 test/unit/wrapper_gem_test.rb
elasticsearch-1.0.0.rc2 test/unit/wrapper_gem_test.rb
elasticsearch-1.0.0.rc1 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.8 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.7 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.6 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.5 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.4 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.3 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.2 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.1 test/unit/wrapper_gem_test.rb
elasticsearch-0.4.0 test/unit/wrapper_gem_test.rb
elasticsearch-0.0.2 test/unit/wrapper_gem_test.rb