Sha256: 7a15c8ec279616791d75da29a7f04a6e60fbb1bb12eb0a2d6cd7ddddc30e41d3
Contents?: true
Size: 802 Bytes
Versions: 18
Compression:
Stored size: 802 Bytes
Contents
# frozen_string_literal: true require 'coveralls' Coveralls.wear!('rails') require 'pry' unless ENV['CI'] ENV['environment'] ||= 'test' # Configure Rails Envinronment ENV['RAILS_ENV'] = 'test' require File.expand_path("../dummy/config/environment", __FILE__) ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../dummy/') Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each { |f| require f } ActiveJob::Base.queue_adapter = :test require 'bundler/setup' require 'active_fedora' require 'active_fedora/cleaner' require 'zizia' require 'zizia/spec' require 'byebug' require 'rails-controller-testing' RSpec.configure do |config| config.filter_run focus: true config.run_all_when_everything_filtered = true config.before(:each, clean: true) { ActiveFedora::Cleaner.clean! } end
Version data entries
18 entries across 18 versions & 1 rubygems