From 5573c6c7e8b75738a86fc765b4dada85f6d48cf2 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 6 May 2015 15:57:14 -0500 Subject: [PATCH] remove hardcoded defaults from spec ensure that we test for there being defaults in the underlying scanner --- spec/lib/metasploit/framework/login_scanner/snmp_spec.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/lib/metasploit/framework/login_scanner/snmp_spec.rb b/spec/lib/metasploit/framework/login_scanner/snmp_spec.rb index 30ae6fa46c..872c9ef23e 100644 --- a/spec/lib/metasploit/framework/login_scanner/snmp_spec.rb +++ b/spec/lib/metasploit/framework/login_scanner/snmp_spec.rb @@ -36,9 +36,7 @@ describe Metasploit::Framework::LoginScanner::SNMP do before(:each) do snmp_scanner.host = '127.0.0.1' snmp_scanner.port = 161 - snmp_scanner.connection_timeout = 1 snmp_scanner.retries = 0 - snmp_scanner.version = 'all' snmp_scanner.stop_on_success = true snmp_scanner.cred_details = detail_group end