Sha256: 1108e806d38072f52069f09240086e5067458be112d7e0dbd8bb704aca436516
Contents?: true
Size: 519 Bytes
Versions: 19
Compression:
Stored size: 519 Bytes
Contents
FactoryGirl.define do factory :collection do ignore do user {FactoryGirl.create(:user)} end sequence(:title) {|n| "Title #{n}"} before(:create) { |work, evaluator| work.apply_depositor_metadata(evaluator.user.user_key) } factory :public_collection do visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC end factory :private_collection do visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE end end end
Version data entries
19 entries across 19 versions & 2 rubygems