Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wpscanteam
GitHub Repository: wpscanteam/wpscan
Path: blob/master/spec/lib/db/plugins_spec.rb
486 views
1
# frozen_string_literal: true
2
3
describe WPScan::DB::Plugins do
4
subject(:plugins) { described_class }
5
6
describe '#all_slugs' do
7
its(:all_slugs) { should eql %w[no-vulns-popular vulnerable-not-popular] }
8
end
9
10
describe '#popular_slugs' do
11
its(:popular_slugs) { should eql %w[no-vulns-popular] }
12
end
13
14
describe '#vulnerable_slugs' do
15
its(:vulnerable_slugs) { should eql %w[vulnerable-not-popular] }
16
end
17
end
18
19