spec/factories/checkout.rb in enju_circulation-0.2.5 vs spec/factories/checkout.rb in enju_circulation-0.3.0.beta.1
- old
+ new
@@ -1,6 +1,6 @@
FactoryBot.define do
- factory :checkout, :class => Checkout do |f|
+ factory :checkout, class: Checkout do |f|
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