Update rspecs

bug/bundler_fix
wchen-r7 2016-12-08 16:39:45 -06:00
parent ef4dd80e2b
commit d8d4479d55
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ RSpec.describe Metasploit::Framework::LoginScanner::MSSQL do
allow(creds).to receive(:username)
allow(creds).to receive(:user_file)
allow(creds).to receive(:userpass_file)
allow(creds).to receive(:additional_publics)
allow(creds).to receive(:additional_publics).and_return([])
login_scanner.cred_details = creds
end

View File

@ -66,7 +66,7 @@ RSpec.describe Metasploit::Framework::LoginScanner::SSH do
allow(creds).to receive(:username)
allow(creds).to receive(:user_file)
allow(creds).to receive(:userpass_file)
allow(creds).to receive(:additional_publics)
allow(creds).to receive(:additional_publics).and_return([])
ssh_scanner.cred_details = creds
end

View File

@ -18,7 +18,7 @@ RSpec.describe Metasploit::Framework::LoginScanner::Telnet do
allow(creds).to receive(:username)
allow(creds).to receive(:user_file)
allow(creds).to receive(:userpass_file)
allow(creds).to receive(:additional_publics)
allow(creds).to receive(:additional_publics).and_return([])
login_scanner.cred_details = creds
end