Sha256: 54e38758da48f82a30453fffa96e6756d42e46df790dffc7fe9a726e645edbae
Contents?: true
Size: 313 Bytes
Versions: 4
Compression:
Stored size: 313 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :access_control, class: Hyrax::AccessControl do permissions { build(:permission) } trait :with_target do access_to { valkyrie_create(:hyrax_resource).id } permissions { build(:permission, access_to: access_to) } end end end
Version data entries
4 entries across 4 versions & 1 rubygems