Sha256: 5a28e037ac2ecd317e49ca207d4fddbdea49bf64077a5c59d6a82f449a6432ff
Contents?: true
Size: 510 Bytes
Versions: 6
Compression:
Stored size: 510 Bytes
Contents
FactoryGirl.define do # The ::Collection model is defined in .internal_test_app/app/models by the # curation_concerns:install generator. factory :collection do transient do user { FactoryGirl.create(:user) } end title 'Test collection title' after(:build) do |collection, evaluator| collection.apply_depositor_metadata(evaluator.user.user_key) end trait :public do visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC end end end
Version data entries
6 entries across 6 versions & 1 rubygems