Sha256: 2dde404530330f05c8d1b21ab60e3765613f01f177dc556b06c57f4a7dafb7f4
Contents?: true
Size: 599 Bytes
Versions: 6
Compression:
Stored size: 599 Bytes
Contents
FactoryGirl.define do factory :linked_resource, class: Worthwhile::LinkedResource do ignore do user {FactoryGirl.create(:user)} end visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_AUTHENTICATED url 'http://www.youtube.com/watch?v=oHg5SJYRHA0' batch { FactoryGirl.create(:generic_work, user: user) } before(:create) { |file, evaluator| file.apply_depositor_metadata(evaluator.user.user_key) } factory :private_linked_resource do visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE end end end
Version data entries
6 entries across 6 versions & 1 rubygems