c6560e0cea
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>
8 lines
133 B
Ruby
8 lines
133 B
Ruby
require 'factory_bot'
|
|
|
|
FactoryBot.define do
|
|
factory :delivery do
|
|
supplier { create :supplier }
|
|
date { Time.now }
|
|
end
|
|
end
|