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
wg-metasploit_data_models-4.1.4.02 spec/factories/mdm/module/platforms.rb
metasploit_data_models-6.0.5 spec/factories/mdm/module/platforms.rb
metasploit_data_models-6.0.4 spec/factories/mdm/module/platforms.rb
metasploit_data_models-6.0.3 spec/factories/mdm/module/platforms.rb
metasploit_data_models-6.0.2 spec/factories/mdm/module/platforms.rb
metasploit_data_models-6.0.1 spec/factories/mdm/module/platforms.rb
metasploit_data_models-6.0.0 spec/factories/mdm/module/platforms.rb
metasploit_data_models-5.0.6 spec/factories/mdm/module/platforms.rb
metasploit_data_models-5.0.5 spec/factories/mdm/module/platforms.rb
metasploit_data_models-5.0.4 spec/factories/mdm/module/platforms.rb
metasploit_data_models-5.0.3 spec/factories/mdm/module/platforms.rb
metasploit_data_models-5.0.2 spec/factories/mdm/module/platforms.rb
metasploit_data_models-5.0.1 spec/factories/mdm/module/platforms.rb
metasploit_data_models-5.0.0 spec/factories/mdm/module/platforms.rb
metasploit_data_models-4.1.4 spec/factories/mdm/module/platforms.rb
metasploit_data_models-4.1.3 spec/factories/mdm/module/platforms.rb
metasploit_data_models-4.1.2 spec/factories/mdm/module/platforms.rb
metasploit_data_models-4.1.1 spec/factories/mdm/module/platforms.rb
metasploit_data_models-4.1.0 spec/factories/mdm/module/platforms.rb
metasploit_data_models-4.0.2 spec/factories/mdm/module/platforms.rb