Spec modification to allow previous commit

The spec was requiring the WAR to be at /deploy but this path was a
typo introduce while refactoring. The initial correct path is
/deploy/management
bug/bundler_fix
Vincent Herbulot 2014-10-01 18:30:53 +02:00
parent 6d07dffa6c
commit 041d44ecc6
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ describe Msf::HTTP::JBoss::DeploymentFileRepositoryScripts do
end
it "uses the provided application name" do
expect(subject.stager_jsp_with_payload('metasploit', 'payload')).to include('"/deploy/" + "metasploit.war";')
expect(subject.stager_jsp_with_payload('metasploit', 'payload')).to include('"/deploy/management/" + "metasploit.war";')
end
it "uses the provided payload" do