Sha256: 096c55be03c795eb21f28bb5a9f65a0617015361ef59f174a7c24a3ede944176

Contents?: true

Size: 323 Bytes

Versions: 32

Compression:

Stored size: 323 Bytes

Contents

FactoryBot.define do
  factory :mdm_module_platform, :class => Mdm::Module::Platform do
    name { generate :mdm_module_platform_name }

    #
    # Associations
    #
    association :detail, :factory => :mdm_module_detail
  end

  sequence :mdm_module_platform_name do |n|
    "Mdm::Module::Platform#name #{n}"
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
metasploit_data_models-4.0.1 spec/factories/mdm/module/platforms.rb
metasploit_data_models-4.0.0 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.10 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.9 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.8 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.7 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.6 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.5 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.4 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.2 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.1 spec/factories/mdm/module/platforms.rb
metasploit_data_models-3.0.0 spec/factories/mdm/module/platforms.rb