Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wpscanteam
GitHub Repository: wpscanteam/wpscan
Path: blob/master/spec/app/finders/db_exports_spec.rb
486 views
1
# frozen_string_literal: true
2
3
describe WPScan::Finders::DbExports::Base do
4
subject(:db_exports) { described_class.new(target) }
5
let(:target) { WPScan::Target.new(url) }
6
let(:url) { 'http://ex.lo/' }
7
8
describe '#finders' do
9
it 'contains the expected finders' do
10
expect(db_exports.finders.map { |f| f.class.to_s.demodulize }).to eq %w[KnownLocations]
11
end
12
end
13
end
14
15