Update rspec

bug/bundler_fix
wchen-r7 2017-01-11 12:00:43 -06:00
parent c97dba39f2
commit 9136e008bb
1 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,9 @@ RSpec.shared_examples_for 'Metasploit::Framework::LoginScanner::Base' do | opts
allow(creds).to receive(:username)
allow(creds).to receive(:user_file)
allow(creds).to receive(:userpass_file)
allow(creds).to receive(:additional_publics).and_return([])
allow(creds).to receive(:prepend_creds).and_return([])
allow(creds).to receive(:additional_privates).and_return([])
allow(creds).to receive(:additional_publics).and_return(['user'])
login_scanner.cred_details = creds
end