Sha256: 4142a1c591f4f42dc89d42347196eec8b4e3f022e9d155c3bb28633f985b010c
Contents?: true
Size: 393 Bytes
Versions: 17
Compression:
Stored size: 393 Bytes
Contents
FactoryGirl.define do 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
17 entries across 17 versions & 2 rubygems