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.25.3 spec/factories/metasploit/model/module/references.rb
metasploit-model-0.25.3-java spec/factories/metasploit/model/module/references.rb
metasploit-model-0.25.2 spec/factories/metasploit/model/module/references.rb
metasploit-model-0.25.2-java spec/factories/metasploit/model/module/references.rb
metasploit-model-0.25.1 spec/factories/metasploit/model/module/references.rb
metasploit-model-0.25.1-java spec/factories/metasploit/model/module/references.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups-java spec/factories/metasploit/model/module/references.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups spec/factories/metasploit/model/module/references.rb
metasploit-model-0.24.1-java spec/factories/metasploit/model/module/references.rb
metasploit-model-0.24.1 spec/factories/metasploit/model/module/references.rb
metasploit-model-0.24.1.pre.semantic.pre.versioning.pre.2.pre.0 spec/factories/metasploit/model/module/references.rb