Sha256: beaf70dfd3383bb3b4c6ff3f0e5f786aee40b361528681f01bb352f09ad727e6

Contents?: true

Size: 730 Bytes

Versions: 8

Compression:

Stored size: 730 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('../../spec/dummy/config/environment', __FILE__)
require 'rails/all'
require 'rspec/rails'

ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../')

ActiveJob::Base.queue_adapter = :test

require 'bundler/setup'
require 'active_fedora'
require 'active_fedora/cleaner'
require 'zizia'
require 'zizia/spec'
require 'byebug'

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

8 entries across 8 versions & 1 rubygems

Version Path
zizia-3.0.0.alpha.01 spec/spec_helper.rb
zizia-2.1.0.alpha.09 spec/spec_helper.rb
zizia-2.1.0.alpha.08 spec/spec_helper.rb
zizia-2.1.0.alpha.07 spec/spec_helper.rb
zizia-2.1.0.alpha.06 spec/spec_helper.rb
zizia-2.1.0.alpha.05 spec/spec_helper.rb
zizia-2.1.0.alpha.04 spec/spec_helper.rb
zizia-2.1.0.alpha.03 spec/spec_helper.rb