Sha256: 1a0d81cf789363ad1dc7f5b22e2d0f0215a148ca3586e8b498d76e17b9460b81
Contents?: true
Size: 615 Bytes
Versions: 33
Compression:
Stored size: 615 Bytes
Contents
FactoryBot.define do factory :metasploit_credential_password, # no need to declare metasploit_credential_private as the :parent because :metasploit_credential_password uses # its own data sequence to differentiate passwords from other private data and #type is automatically # set by ActiveRecord because Metasploit::Credential::Password is an STI subclass. class: Metasploit::Credential::Password do data { generate :metasploit_credential_password_data } end sequence :metasploit_credential_password_data do |n| "metasploit_credential_password#{n}" end end
Version data entries
33 entries across 33 versions & 1 rubygems