FactoryBot.define do factory :recipe_ingredient do sort_order { 1 } recipe food end end