Sha256: fd3a7006efd7d7d378f21b0701e147eab8d8116e332b30c738278ae632cc9d91
Contents?: true
Size: 713 Bytes
Versions: 7
Compression:
Stored size: 713 Bytes
Contents
ENV["RAILS_ENV"] ||= "test" require 'engine_cart' path = File.expand_path(File.join('..', '..', '..', '.internal_test_app'), __FILE__) EngineCart.load_application! path 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
7 entries across 7 versions & 1 rubygems