Sha256: dacad0e62408b58e55d452e69a2d4e7be7aa08c26003760af1f06771179309bc
Contents?: true
Size: 510 Bytes
Versions: 15
Compression:
Stored size: 510 Bytes
Contents
require 'rubygems' 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 end
Version data entries
15 entries across 15 versions & 1 rubygems