Sha256: c2b366ac0591af2382b320ef4379a62a42a917d8b9dc8e7b488bbc5248c1fe41
Contents?: true
Size: 795 Bytes
Versions: 67
Compression:
Stored size: 795 Bytes
Contents
FactoryGirl.define do factory :metasploit_credential_origin_service, class: Metasploit::Credential::Origin::Service do ignore do module_type { generate :metasploit_credential_origin_service_module_type } reference_name { generate :metasploit_credential_origin_service_reference_name } end association :service, factory: :mdm_service module_full_name { "#{module_type}/#{reference_name}" } end metasploit_credential_origin_service_module_types = [ 'auxiliary', 'exploit' ] sequence :metasploit_credential_origin_service_module_type, metasploit_credential_origin_service_module_types.cycle sequence :metasploit_credential_origin_service_reference_name do |n| "metasploit/credential/origin/service/reference/name#{n}" end end
Version data entries
67 entries across 67 versions & 1 rubygems