Sha256: 11edb43995ea4fa222599fed6fb6e0d175bb5413f5ccaaf972ce13a390993750
Contents?: true
Size: 600 Bytes
Versions: 7
Compression:
Stored size: 600 Bytes
Contents
require 'rubygems' require 'bundler' Bundler.setup :test $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'algoliasearch-rails' require 'rspec' raise "missing ALGOLIA_APPLICATION_ID or ALGOLIA_API_KEY environment variables" if ENV['ALGOLIA_APPLICATION_ID'].nil? || ENV['ALGOLIA_API_KEY'].nil? AlgoliaSearch.configuration = { application_id: ENV['ALGOLIA_APPLICATION_ID'], api_key: ENV['ALGOLIA_API_KEY'] } RSpec.configure do |c| c.mock_with :rspec c.filter_run focus: true c.run_all_when_everything_filtered = true end
Version data entries
7 entries across 7 versions & 1 rubygems