Sha256: c023c15b6be0d3d2398939874994af54174fa4e4bd270159d6131cd29a453d9b
Contents?: true
Size: 563 Bytes
Versions: 10
Compression:
Stored size: 563 Bytes
Contents
FactoryGirl.define do factory :linked_resource 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
10 entries across 10 versions & 1 rubygems