Sha256: d5c984a3441b1b84f9d90c037cafbdc1fa64ef2da0d9378ac51be59d8332d43a

Contents?: true

Size: 497 Bytes

Versions: 32

Compression:

Stored size: 497 Bytes

Contents

FactoryBot.define do
  factory :mdm_module_author, :class => Mdm::Module::Author do
    name { generate :mdm_module_author_name }

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

    factory :full_mdm_module_author do
      email { generate :mdm_module_author_name }
    end
  end

  sequence :mdm_module_author_name do |n|
    "Mdm::Module::Author#name #{n}"
  end

  sequence :mdm_module_author_email do |n|
    "Mdm::Module::Author#email #{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/authors.rb
metasploit_data_models-6.0.5 spec/factories/mdm/module/authors.rb
metasploit_data_models-6.0.4 spec/factories/mdm/module/authors.rb
metasploit_data_models-6.0.3 spec/factories/mdm/module/authors.rb
metasploit_data_models-6.0.2 spec/factories/mdm/module/authors.rb
metasploit_data_models-6.0.1 spec/factories/mdm/module/authors.rb
metasploit_data_models-6.0.0 spec/factories/mdm/module/authors.rb
metasploit_data_models-5.0.6 spec/factories/mdm/module/authors.rb
metasploit_data_models-5.0.5 spec/factories/mdm/module/authors.rb
metasploit_data_models-5.0.4 spec/factories/mdm/module/authors.rb
metasploit_data_models-5.0.3 spec/factories/mdm/module/authors.rb
metasploit_data_models-5.0.2 spec/factories/mdm/module/authors.rb
metasploit_data_models-5.0.1 spec/factories/mdm/module/authors.rb
metasploit_data_models-5.0.0 spec/factories/mdm/module/authors.rb
metasploit_data_models-4.1.4 spec/factories/mdm/module/authors.rb
metasploit_data_models-4.1.3 spec/factories/mdm/module/authors.rb
metasploit_data_models-4.1.2 spec/factories/mdm/module/authors.rb
metasploit_data_models-4.1.1 spec/factories/mdm/module/authors.rb
metasploit_data_models-4.1.0 spec/factories/mdm/module/authors.rb
metasploit_data_models-4.0.2 spec/factories/mdm/module/authors.rb