Fix spec like I shoulda done before landing #5736

bug/bundler_fix
James Lee 2015-09-03 13:53:21 -05:00
parent 9ccd95af26
commit 956c8e550d
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 1 additions and 7 deletions

View File

@ -11,15 +11,9 @@ describe Rex::Exploitation::CmdStagerCertutil do
described_class.new(exe) described_class.new(exe)
end end
describe '#cmd_concat_operator' do
it "returns &" do
expect(cmd_stager.cmd_concat_operator).to eq(" & ")
end
end
describe '#generate' do describe '#generate' do
it "returns an array of commands" do it "returns an array of commands" do
result = cmd_stager.generate(opts) result = cmd_stager.generate
expect(result).to be_kind_of(Array) expect(result).to be_kind_of(Array)
expect(result).to_not be_empty expect(result).to_not be_empty