spec/factories/generic_works.rb in curation_concerns-0.3.0 vs spec/factories/generic_works.rb in curation_concerns-0.4.0

- old
+ new

@@ -24,9 +24,10 @@ end factory :work_with_files do before(:create) { |work, evaluator| 2.times { work.ordered_members << FactoryGirl.create(:file_set, user: evaluator.user) } } end + factory :work_with_ordered_files do before(:create) do |work, evaluator| work.ordered_members << FactoryGirl.create(:file_set, user: evaluator.user) work.ordered_member_proxies.insert_target_at(0, FactoryGirl.create(:file_set, user: evaluator.user)) end