Sha256: 8dc82b4330053477754f89f4a1ced38572c8178d082718217491f24ce3c2ef92
Contents?: true
Size: 1.64 KB
Versions: 4
Compression:
Stored size: 1.64 KB
Contents
#RAILS_ROOT = "#{File.dirname(__FILE__)}/.." require 'rubygems' require 'bundler' Bundler.require :default, :development # Set the default environment to sqlite3's in_memory database ENV['RAILS_ENV'] ||= 'test' EngineCart.load_application! require 'rspec/rails' require 'rspec/autorun' require 'capybara/rspec' require 'capybara/rails' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } MARC_DATA_PATH = "#{File.dirname(__FILE__)}/marc_data" # Undo changes to RAILS_ENV silence_warnings {RAILS_ENV = ENV['RAILS_ENV']} # Checks for pending migrations before tests are run. # If you are not using ActiveRecord, you can remove this line. ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration) RSpec.configure do |config| # == Mock Framework # # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line: # # config.mock_with :mocha # config.mock_with :flexmock # config.mock_with :rr config.mock_with :rspec # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures #config.fixture_path = "#{::Rails.root}/spec/fixtures" # 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 ## # Load CqlRuby and our local patches to it, so available for tests # require 'cql_ruby' require File.expand_path(File.dirname(__FILE__) + '/../lib/blacklight_cql/blacklight_to_solr.rb') end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
blacklight_cql-3.0.1 | spec/spec_helper.rb |
blacklight_cql-3.0.0 | spec/spec_helper.rb |
blacklight_cql-2.0.1 | spec/spec_helper.rb |
blacklight_cql-2.0.0 | spec/spec_helper.rb |