spec/factories/checkout.rb in enju_circulation-0.3.0.rc.1 vs spec/factories/checkout.rb in enju_circulation-0.3.0
- old
+ new
@@ -1,7 +1,7 @@
FactoryBot.define do
factory :checkout, class: Checkout do |f|
- f.due_date Time.zone.now.next_week
+ f.due_date { Time.zone.now.next_week }
f.association :item, factory: :item
f.association :user, factory: :user
f.association :librarian, factory: :librarian
f.association :basket, factory: :basket
end