Sha256: 0d03f112550688f4e0dd2216a38ff3c0d46f5a5a4cada2985de2b83def384d4c
Contents?: true
Size: 433 Bytes
Versions: 6
Compression:
Stored size: 433 Bytes
Contents
SEARCH_ENGINE = 'algolia' require 'spec_helper' describe "Algolia" do before do config = YAML.load_file(Rails.root.join('config', 'backends.yml')) require "activesearch/algolia/client" ActiveSearch::Algolia::Client.configure(config["algolia"]["api_key"], config["algolia"]["app_id"], "locomotivecms") ActiveSearch::Algolia::Client.new.delete_index setup_search end it_behaves_like "a search backend" end
Version data entries
6 entries across 6 versions & 1 rubygems