Land #3037, @wchen-r7's rspec fix

bug/bundler_fix
jvazquez-r7 2014-02-25 16:44:56 -06:00
commit 75cac284f5
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ describe Msf::PayloadGenerator do
let(:format) { 'exe' }
it 'applies the appropriate executable format' do
::Msf::Util::EXE.should_receive(:to_executable_fmt).with(framework, arch, platform, shellcode, format, payload_generator.exe_options)
::Msf::Util::EXE.should_receive(:to_executable_fmt).with(framework, arch, kind_of(payload_generator.platform_list.class), shellcode, format, payload_generator.exe_options)
payload_generator.format_payload(shellcode)
end
end