Sha256: f62fd870ac2606e67ec56a26293bdbbaf6cacf2096f79f85ebf0f5e424d71b87
Contents?: true
Size: 528 Bytes
Versions: 13
Compression:
Stored size: 528 Bytes
Contents
FactoryGirl.define do factory :generic_file do ignore do user {FactoryGirl.create(:user)} end visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_AUTHENTICATED file "Sample file" batch { FactoryGirl.create(:generic_work, user: user) } before(:create) { |file, evaluator| file.apply_depositor_metadata(evaluator.user.user_key) } factory :private_generic_file do visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE end end end
Version data entries
13 entries across 13 versions & 1 rubygems