FactoryBot.define do factory :user_role, class: 'Ecom::Model::UserRole' do name { FFaker::Name.name } association :application_module end end