Sha256: a57e6cf78841bf2fef53d2de8be7572c0735b9464102b56a7d58ba0700b587a5

Contents?: true

Size: 280 Bytes

Versions: 31

Compression:

Stored size: 280 Bytes

Contents

FactoryGirl.define do
  number_by_name = Metasploit::Model::Module::Rank::NUMBER_BY_NAME

  names = number_by_name.keys
  sequence :metasploit_model_module_rank_name, names.cycle

  numbers = number_by_name.values
  sequence :metasploit_model_module_rank_number, numbers.cycle
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
metasploit-model-0.28.0 spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.28.0-java spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.28.0.pre.engine.pre.requires spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.4 spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.4-java spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.3 spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.3-java spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.2 spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.2-java spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.1 spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.1-java spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.0 spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.0-java spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.27.0.pre.dep.pre.railties spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.26.1-java spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.26.1 spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.25.7 spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.25.7-java spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.25.6 spec/factories/metasploit/model/module/ranks.rb
metasploit-model-0.25.6-java spec/factories/metasploit/model/module/ranks.rb