# frozen_string_literal: true FactoryBot.define do factory :cart, class: 'Cart' do user_account { create(:user_account, role: 'regular') } end end