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

Version Path
algoliasearch-rails-1.3.2 spec/spec_helper.rb
algoliasearch-rails-1.3.1 spec/spec_helper.rb
algoliasearch-rails-1.3.0 spec/spec_helper.rb
algoliasearch-rails-1.2.1 spec/spec_helper.rb
algoliasearch-rails-1.2.0 spec/spec_helper.rb
algoliasearch-rails-1.1.8 spec/spec_helper.rb
algoliasearch-rails-1.1.7 spec/spec_helper.rb
algoliasearch-rails-1.1.6 spec/spec_helper.rb
algoliasearch-rails-1.1.5 spec/spec_helper.rb
algoliasearch-rails-1.1.4 spec/spec_helper.rb
algoliasearch-rails-1.1.3 spec/spec_helper.rb
algoliasearch-rails-1.1.2 spec/spec_helper.rb
algoliasearch-rails-1.1.1 spec/spec_helper.rb
algoliasearch-rails-1.1.0 spec/spec_helper.rb
algoliasearch-rails-1.0.0 spec/spec_helper.rb