Skip to content

Commit 7839305

Browse files
committed
Fix failing spec
1 parent c07f390 commit 7839305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/msf/core/exploit/remote/browser_exploit_server_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267

268268
it 'redirects to the exploit URL' do
269269
server.should_receive(:send_redirect) do |cli, url|
270-
expect(url).to end_with(exploit_page)
270+
expect(url).to end_with("#{exploit_page}/")
271271
end
272272
server.on_request_uri(cli, request)
273273
end

0 commit comments

Comments
 (0)