remove hardcoded defaults from spec
ensure that we test for there being defaults in the underlying scannerbug/bundler_fix
parent
669df591f2
commit
5573c6c7e8
|
@ -36,9 +36,7 @@ describe Metasploit::Framework::LoginScanner::SNMP do
|
||||||
before(:each) do
|
before(:each) do
|
||||||
snmp_scanner.host = '127.0.0.1'
|
snmp_scanner.host = '127.0.0.1'
|
||||||
snmp_scanner.port = 161
|
snmp_scanner.port = 161
|
||||||
snmp_scanner.connection_timeout = 1
|
|
||||||
snmp_scanner.retries = 0
|
snmp_scanner.retries = 0
|
||||||
snmp_scanner.version = 'all'
|
|
||||||
snmp_scanner.stop_on_success = true
|
snmp_scanner.stop_on_success = true
|
||||||
snmp_scanner.cred_details = detail_group
|
snmp_scanner.cred_details = detail_group
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue