Fix failing spec
parent
c07f390382
commit
78393057fe
|
@ -267,7 +267,7 @@ describe Msf::Exploit::Remote::BrowserExploitServer do
|
|||
|
||||
it 'redirects to the exploit URL' do
|
||||
server.should_receive(:send_redirect) do |cli, url|
|
||||
expect(url).to end_with(exploit_page)
|
||||
expect(url).to end_with("#{exploit_page}/")
|
||||
end
|
||||
server.on_request_uri(cli, request)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue