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

Version Path
zizia-6.0.1 spec/spec_helper.rb
zizia-6.0.0 spec/spec_helper.rb
zizia-5.5.0 spec/spec_helper.rb
zizia-5.4.0 spec/spec_helper.rb
zizia-5.3.0 spec/spec_helper.rb
zizia-5.2.0 spec/spec_helper.rb
zizia-5.1.0 spec/spec_helper.rb
zizia-5.0.1 spec/spec_helper.rb
zizia-5.0.0 spec/spec_helper.rb
zizia-4.6.0.alpha.01 spec/spec_helper.rb
zizia-4.5.4.alpha.01 spec/spec_helper.rb
zizia-4.5.3.alpha.01 spec/spec_helper.rb
zizia-4.5.2.alpha.01 spec/spec_helper.rb
zizia-4.5.1.alpha.01 spec/spec_helper.rb
zizia-4.4.1.alpha.01 spec/spec_helper.rb
zizia-4.4.0.alpha.01 spec/spec_helper.rb
zizia-4.3.1.alpha.01 spec/spec_helper.rb
zizia-4.2.0.alpha.01 spec/spec_helper.rb