Sha256: d3f0139f2d081d96d257ce22262f9d4ed453f8d7811e39ff3724ea5e960ff2b0
Contents?: true
Size: 384 Bytes
Versions: 13
Compression:
Stored size: 384 Bytes
Contents
FactoryGirl.define do factory :document, parent: :generic_work, class: Document do type { Document.valid_types.sample } factory :private_document do visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE end factory :public_document do visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC end end end
Version data entries
13 entries across 13 versions & 1 rubygems