foodsoft/spec/factories/order_article.rb

9 lines
142 B
Ruby
Raw Normal View History

2022-10-07 14:04:19 +02:00
require 'factory_bot'
FactoryBot.define do
factory :order_article do
order { create :order }
article { create :article }
end
end