We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2377f17 commit 90c42b4Copy full SHA for 90c42b4
spec/support/shared/examples/metasploit/framework/login_scanner/login_scanner_base.rb
@@ -183,7 +183,9 @@
183
allow(creds).to receive(:username)
184
allow(creds).to receive(:user_file)
185
allow(creds).to receive(:userpass_file)
186
- allow(creds).to receive(:additional_publics).and_return([])
+ allow(creds).to receive(:prepended_creds).and_return([])
187
+ allow(creds).to receive(:additional_privates).and_return([])
188
+ allow(creds).to receive(:additional_publics).and_return(['user'])
189
login_scanner.cred_details = creds
190
expect(login_scanner).to_not be_valid
191
expect(login_scanner.errors[:cred_details]).to include "must respond to :each"
0 commit comments