spec/factories/metasploit/credential/importer/pwdumps.rb in metasploit-credential-3.0.1 vs spec/factories/metasploit/credential/importer/pwdumps.rb in metasploit-credential-3.0.2
- old
+ new
@@ -1,8 +1,8 @@
FactoryBot.define do
factory :metasploit_credential_importer_pwdump,
class: Metasploit::Credential::Importer::Pwdump do
- filename "pwdump-import-#{Time.now.to_i}"
+ filename { "pwdump-import-#{Time.now.to_i}" }
origin {FactoryBot.build :metasploit_credential_origin_import }
input { FactoryBot.generate(:wellformed_pwdump) }
end
# Represents a file that should do an error-free import
\ No newline at end of file