foodsoft/spec/factories/delivery.rb
Philipp Rothmann c6560e0cea Add additional model and integration tests
This commit adds new tests for a better coverage.

integration/
  * home
  * supplier

models/
  * article
  * delivery
  * group_order_article
  * supplier

also adds a new factory for delivery

Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-authored-by: Tobias Kneuker <tk@pragma-shift.net>
2022-11-27 12:39:57 +01:00

8 lines
133 B
Ruby

require 'factory_bot'
FactoryBot.define do
factory :delivery do
supplier { create :supplier }
date { Time.now }
end
end