spec/factories/generic_works.rb in curation_concerns-1.3.3 vs spec/factories/generic_works.rb in curation_concerns-1.4.0
- old
+ new
@@ -29,11 +29,11 @@
end
end
factory :work_with_two_children do
before(:create) do |work, evaluator|
- work.ordered_members << FactoryGirl.create(:generic_work, user: evaluator.user, title: ['A Contained Work'], id: "Blah")
- work.ordered_members << FactoryGirl.create(:generic_work, user: evaluator.user, title: ['Another Contained Work'], id: "Blah2")
+ work.ordered_members << FactoryGirl.create(:generic_work, user: evaluator.user, title: ['A Contained Work'], id: "BlahBlah1")
+ work.ordered_members << FactoryGirl.create(:generic_work, user: evaluator.user, title: ['Another Contained Work'], id: "BlahBlah2")
end
end
factory :work_with_representative_file do
before(:create) do |work, evaluator|