Sha256: 57189295910b92130cad1648f94b0b0a129875bb8c6847cb0435e415f1e0693c
Contents?: true
Size: 793 Bytes
Versions: 27
Compression:
Stored size: 793 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) ENV["RAILS_ENV"] ||= "test" require File.expand_path("config/environment", ENV['RAILS_ROOT'] || File.expand_path("../internal", __FILE__)) require 'bundler/setup' require 'rspec/rails' require 'hydra-core' if ENV['COVERAGE'] require 'simplecov' require 'simplecov-rcov' SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter SimpleCov.start end ActiveFedora::Base.logger = Logger.new(STDOUT) require 'active_fedora/cleaner' RSpec.configure do |config| config.include Devise::TestHelpers, type: :controller config.use_transactional_fixtures = true config.infer_spec_type_from_file_location! config.before(:each) do ActiveFedora::Cleaner.clean! end end
Version data entries
27 entries across 27 versions & 1 rubygems