Railgun calls should return a hash

bug/bundler_fix
Meatballs 2015-03-19 00:05:02 +00:00
parent 6ceab3d02d
commit a5d589ef55
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 3 additions and 3 deletions

View File

@ -14,10 +14,10 @@ describe Msf::Post::Windows::Runas do
let(:advapi32) do
advapi32 = double('advapi32')
advapi32.stub(:CreateProcessWithLogonW).and_return(
advapi32.stub(:CreateProcessWithLogonW).and_return({
'return' => true,
'lpProcessInformation' => process_info
)
})
advapi32.stub(:CreateProcessAsUserA).and_return ({
'return' => true,
'lpProcessInformation' => process_info
@ -33,7 +33,7 @@ describe Msf::Post::Windows::Runas do
double('kernel32', CloseHandle: nil)
end
subject do
let(:subject) do
mod = Module.new
mod.extend described_class
stubs = [ :vprint_status, :print_status, :vprint_good, :print_good, :print_error ]