spec/factories/generic_works.rb in curation_concerns-1.5.0 vs spec/factories/generic_works.rb in curation_concerns-1.6.0

- old
+ new

@@ -11,10 +11,12 @@ after(:build) do |work, evaluator| work.apply_depositor_metadata(evaluator.user.user_key) end - factory :public_generic_work do + factory :public_generic_work, traits: [:public] + + trait :public do visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC end factory :work_with_one_file do before(:create) do |work, evaluator|