Skip to content

Commit 041d44e

Browse files
author
Vincent Herbulot
committed
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
1 parent 6d07dff commit 041d44e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/msf/http/jboss/deployment_file_repository_scripts_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
end
1919

2020
it "uses the provided application name" do
21-
expect(subject.stager_jsp_with_payload('metasploit', 'payload')).to include('"/deploy/" + "metasploit.war";')
21+
expect(subject.stager_jsp_with_payload('metasploit', 'payload')).to include('"/deploy/management/" + "metasploit.war";')
2222
end
2323

2424
it "uses the provided payload" do

0 commit comments

Comments
 (0)