spec/factories/images_factory.rb in curate-0.5.1 vs spec/factories/images_factory.rb in curate-0.5.2
- old
+ new
@@ -3,10 +3,10 @@
ignore do
user {FactoryGirl.create(:user)}
end
sequence(:title) {|n| "Title #{n}"}
sequence(:description) {|n| "Description #{n}"}
- rights { Sufia.config.cc_licenses.keys.first }
+ rights { Sufia.config.cc_licenses.keys.first.dup }
date_uploaded { Date.today }
date_modified { Date.today }
visibility Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_AUTHENTICATED
before(:create) { |work, evaluator|
work.apply_depositor_metadata(evaluator.user.user_key)