Update rspec
parent
c97dba39f2
commit
9136e008bb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue