Sha256: 3c68f1fda9dffe56c57f37157dbea1ef43b87ac8aa6d998b2980f93ead28ab05

Contents?: true

Size: 228 Bytes

Versions: 5

Compression:

Stored size: 228 Bytes

Contents

FactoryBot.define do
  factory :menu, class: 'Ecom::Model::Menu' do
    label { FFaker::Name.name }
    icon { FFaker::Name.name }
    route { FFaker::Name.name }
    parent { nil }
    association :application_module
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_model-2.0.4 spec/factories/ecom/model/menus.rb
ecom_model-2.0.3 spec/factories/ecom/model/menus.rb
ecom_model-2.0.2 spec/factories/ecom/model/menus.rb
ecom_model-2.0.1 spec/factories/ecom/model/menus.rb
ecom_model-2.0.0 spec/factories/ecom/model/menus.rb