Skip to content

Commit 5573c6c

Browse files
author
Brent Cook
committed
remove hardcoded defaults from spec
ensure that we test for there being defaults in the underlying scanner
1 parent 669df59 commit 5573c6c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spec/lib/metasploit/framework/login_scanner/snmp_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
before(:each) do
3737
snmp_scanner.host = '127.0.0.1'
3838
snmp_scanner.port = 161
39-
snmp_scanner.connection_timeout = 1
4039
snmp_scanner.retries = 0
41-
snmp_scanner.version = 'all'
4240
snmp_scanner.stop_on_success = true
4341
snmp_scanner.cred_details = detail_group
4442
end

0 commit comments

Comments
 (0)