Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wpscanteam
GitHub Repository: wpscanteam/wpscan
Path: blob/master/spec/app/finders/plugins/urls_in_404_page_spec.rb
2290 views
1
# frozen_string_literal: true
2
3
describe WPScan::Finders::Plugins::UrlsIn404Page do
4
subject(:finder) { described_class.new(target) }
5
let(:target) { WPScan::Target.new(url) }
6
let(:url) { 'https://wp.lab/' }
7
let(:fixtures) { FINDERS_FIXTURES.join('plugins', 'urls_in_404_page') }
8
9
# This stuff is just a child class of URLsInHomepage (using the error_404_res rather than homepage_res)
10
# which already has a spec
11
end
12
13