Sha256: e5ac850bac6f5c80a7170940532870f702330f3bf60b02f926975da5cfcacb3d

Contents?: true

Size: 594 Bytes

Versions: 3

Compression:

Stored size: 594 Bytes

Contents

# frozen_string_literal: true

require 'coveralls'
Coveralls.wear!

ENV['RAILS_ENV'] ||= 'test'
require 'bundler/setup'

require 'engine_cart'
EngineCart.load_application!

require 'rails-controller-testing'
require 'rspec/rails'
require 'rspec/its'
require 'hydra/role_management'
require 'pry-byebug'

RSpec.configure do |config|
  config.use_transactional_fixtures = true
  config.before(:each, type: :controller) do
    @routes = Hydra::RoleManagement::Engine.routes
  end
  config.include Devise::Test::ControllerHelpers, type: :controller
  config.infer_spec_type_from_file_location!
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hydra-role-management-1.2.0 spec/spec_helper.rb
hydra-role-management-1.1.0 spec/spec_helper.rb
hydra-role-management-1.0.3 spec/spec_helper.rb