Sha256: f4c8520d92f18489e4b6c5b822b6720d9ad6c49ddbf429069c2fcbfa41683108

Contents?: true

Size: 390 Bytes

Versions: 31

Compression:

Stored size: 390 Bytes

Contents

FactoryGirl.define do
  module_references_module_types = Metasploit::Model::Module::Instance.module_types_that_allow(:module_references)

  sequence :metasploit_model_module_reference_module_type, module_references_module_types.cycle

  trait :metasploit_model_module_reference do
    ignore do
      module_type { generate :metasploit_model_module_reference_module_type }
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

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