Add spec for ensuring is_eicar_corrupted? is false.

bug/bundler_fix
Joe Vennix 2014-10-24 10:15:43 -05:00 committed by Joshua Smith
parent 3b8067e9a2
commit 028fb3279f
1 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,12 @@ describe Msf::Util::EXE do
end
end
describe '.is_eicar_corrupted?' do
it 'returns true' do
expect(described_class.is_eicar_corrupted?).to be_false
end
end
describe '.to_executable_fmt' do
it "should output nil when given a bogus format" do
bin = subject.to_executable_fmt($framework, "", "", "", "does not exist", {})