delivery: add delivery test
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Philipp Rothmann 2022-10-06 16:08:32 +02:00
parent a71ca3c2dc
commit 75b0bdf856
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,9 @@
require 'factory_bot'
FactoryBot.define do
factory :delivery do
supplier { create :supplier }
invoice { create :invoice }
date { Faker::Date.backward(days: 14) }
end
end