# This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' require 'rspec' require 'multi_solr' #require "ap" require "solr_testdata_provider" require "solr_test_helper" RSpec.configure do |config| config.mock_with :rspec # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false # instead of true. #config.use_transactional_fixtures = true #config.include(RSpec::Mocks::Methods) config.after(:suite) do # Stoppen der Solr-Test-Instance (falls diese gestartet war) SolrTestdataProvider.stop_test_solr_instance end include SolrTestHelper end