Sha256: 6d0d81f64d35a944d26e65aedadea36640bde7e5ca03617ab9346ea575cea42a

Contents?: true

Size: 326 Bytes

Versions: 5

Compression:

Stored size: 326 Bytes

Contents

FactoryGirl.define do
  factory :mdm_module_platform, :class => Mdm::ModulePlatform do
    name { generate :mdm_module_platform_name }

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
metasploit_data_models-0.7.0 spec/factories/mdm/module_platforms.rb
metasploit_data_models-0.7.0-java spec/factories/mdm/module_platforms.rb
metasploit_data_models-0.6.16 spec/factories/mdm/module_platforms.rb
metasploit_data_models-0.6.14 spec/factories/mdm/module_platforms.rb
metasploit_data_models-0.6.13 spec/factories/mdm/module_platforms.rb