foodsoft/spec/factories/order_article.rb

8 lines
142 B
Ruby

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