Sha256: a29a9d16edcc30ae255787de5e55acba8b549092addea53c5312005e4cceeab0

Contents?: true

Size: 367 Bytes

Versions: 6

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.configure do |config|
  config.before(:example) do
    @host = ENV['ELASTIC_ENTERPRISE_HOST'] || 'http://localhost:3002'
    @api_key = ENV['ELASTIC_APPSEARCH_API_KEY'] || 'api_key'
    @client = Elastic::EnterpriseSearch::AppSearch::Client.new(
      host: @host,
      http_auth: @api_key
    )
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
elastic-enterprise-search-7.12.1 spec/app-search/api_spec_helper.rb
elastic-enterprise-search-7.13.0 spec/app-search/api_spec_helper.rb
elastic-enterprise-search-7.13.0.pre spec/app-search/api_spec_helper.rb
elastic-enterprise-search-7.12.0 spec/app-search/api_spec_helper.rb
elastic-enterprise-search-7.11.0 spec/app-search/api_spec_helper.rb
elastic-enterprise-search-7.10.0.beta.1 spec/app-search/api_spec_helper.rb