Sha256: 98209c30a0cd819eceaea74704fbc006e5c1cc5db5598e7ad197a2f583aa1888

Contents?: true

Size: 313 Bytes

Versions: 139

Compression:

Stored size: 313 Bytes

Contents

FactoryGirl.define do
  factory :mdm_module_action, :class => Mdm::Module::Action do
    name { generate :mdm_module_action_name }

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

  sequence :mdm_module_action_name do |n|
    "Mdm::Module::Action#name #{n}"
  end
end

Version data entries

139 entries across 139 versions & 1 rubygems

Version Path
metasploit_data_models-0.15.2-java spec/factories/mdm/module/actions.rb
metasploit_data_models-0.15.2 spec/factories/mdm/module/actions.rb
metasploit_data_models-0.15.1-java spec/factories/mdm/module/actions.rb
metasploit_data_models-0.15.1 spec/factories/mdm/module/actions.rb
metasploit_data_models-0.15.0 spec/factories/mdm/module/actions.rb
metasploit_data_models-0.14.4-java spec/factories/mdm/module/actions.rb
metasploit_data_models-0.14.4 spec/factories/mdm/module/actions.rb
metasploit_data_models-0.14.3-java spec/factories/mdm/module/actions.rb
metasploit_data_models-0.14.3 spec/factories/mdm/module/actions.rb
metasploit_data_models-0.14.2-java spec/factories/mdm/module/actions.rb
metasploit_data_models-0.14.2 spec/factories/mdm/module/actions.rb
metasploit_data_models-0.14.1-java spec/factories/mdm/module/actions.rb
metasploit_data_models-0.14.1 spec/factories/mdm/module/actions.rb
metasploit_data_models-0.12.1-java spec/factories/mdm/module/actions.rb
metasploit_data_models-0.12.1 spec/factories/mdm/module/actions.rb
metasploit_data_models-0.12.0-java spec/factories/mdm/module/actions.rb
metasploit_data_models-0.12.0 spec/factories/mdm/module/actions.rb
metasploit_data_models-0.11.2-java spec/factories/mdm/module/actions.rb
metasploit_data_models-0.11.2 spec/factories/mdm/module/actions.rb