Sha256: 387efe8f6424835f43fc8d647fd874c10545407d3281499c9a637dd578b871cf

Contents?: true

Size: 298 Bytes

Versions: 139

Compression:

Stored size: 298 Bytes

Contents

FactoryGirl.define do
  factory :mdm_module_ref, :class => Mdm::Module::Ref do
    name { generate :mdm_module_ref_name }

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

  sequence :mdm_module_ref_name do |n|
    "Mdm::Module::Ref#name #{n}"
  end
end

Version data entries

139 entries across 139 versions & 1 rubygems

Version Path
metasploit_data_models-1.2.8 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.2.7 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.2.6 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.2.5 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.2.4 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.2.3 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.2.2 spec/factories/mdm/module/refs.rb
metasploit_data_models-0.24.5 spec/factories/mdm/module/refs.rb
metasploit_data_models-0.24.4 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.2.1 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.2.0 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.1.0 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.0.1 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.0.0 spec/factories/mdm/module/refs.rb
metasploit_data_models-0.24.3 spec/factories/mdm/module/refs.rb
metasploit_data_models-0.24.2 spec/factories/mdm/module/refs.rb
metasploit_data_models-0.24.1.pre.rspec.pre.3.pre.1 spec/factories/mdm/module/refs.rb
metasploit_data_models-0.24.1 spec/factories/mdm/module/refs.rb
metasploit_data_models-1.0.0.pre.rails.pre.4.0b spec/factories/mdm/module/refs.rb
metasploit_data_models-1.0.0.pre.rails.pre.4.0a spec/factories/mdm/module/refs.rb