Add spec for ensuring is_eicar_corrupted? is false.

This commit is contained in:
Joe Vennix
2014-10-24 10:15:43 -05:00
parent 3b8067e9a2
commit 280ee26545
+6
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", {})