Sha256: de3febaa7a4c0093eecd3020aa45b474c535de343a7155c6b9cdd3e202f63e8a
Contents?: true
Size: 919 Bytes
Versions: 8
Compression:
Stored size: 919 Bytes
Contents
# frozen_string_literal: true 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' require 'simplecov' require 'coveralls' SimpleCov.root(File.expand_path('../..', __dir__)) SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new( [ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] ) SimpleCov.start('rails') do add_filter %r{lib/generators/.*\.rb} end ActiveFedora::Base.logger = Logger.new(STDOUT) require 'active_fedora/cleaner' RSpec.configure do |config| config.include Devise::Test::ControllerHelpers, 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
8 entries across 8 versions & 1 rubygems