foodsoft/spec/factories/order_article.rb

9 lines
142 B
Ruby
Raw Normal View History

require 'factory_bot'
FactoryBot.define do
factory :order_article do
order { create :order }
article { create :article }
end
end