FactoryBot.define do factory :application_module, class: Ecom::Core::ApplicationModule do code { FFaker::Name.name } name { FFaker::Name.name } end end