Sha256: 00fa26b6bdb30df2e7d029cf7d97a8f08545f55612a360fea63ac2c58bb98279

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true
FactoryBot.define do
  factory :collection_type_participant, class: Hyrax::CollectionTypeParticipant do
    association :hyrax_collection_type, factory: :collection_type
    sequence(:agent_id) { |n| "user#{n}@example.com" }
    agent_type  { 'user' }
    access      { Hyrax::CollectionTypeParticipant::MANAGE_ACCESS }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hyrax-5.0.1 lib/hyrax/specs/shared_specs/factories/collection_type_participants.rb
hyrax-5.0.0 spec/factories/collection_type_participants.rb
hyrax-5.0.0.rc3 spec/factories/collection_type_participants.rb