# frozen_string_literal: true

require 'spec_helper'

describe Elastic::Latest::Config do
  describe '.document_type' do
    it 'returns config' do
      expect(described_class.document_type).to eq('doc')
    end
  end

  describe '.settings' do
    it 'returns config' do
      expect(described_class.settings).to be_a(Elasticsearch::Model::Indexing::Settings)
    end
  end

  describe '.mappings' do
    it 'returns config' do
      expect(described_class.mapping).to be_a(Elasticsearch::Model::Indexing::Mappings)
    end
  end
end
