16 lines
397 B
Ruby
16 lines
397 B
Ruby
describe WPScan::DB::Plugins do
|
|
subject(:plugins) { described_class }
|
|
|
|
describe '#all_slugs' do
|
|
its(:all_slugs) { should eql %w[no-vulns-popular vulnerable-not-popular] }
|
|
end
|
|
|
|
describe '#popular_slugs' do
|
|
its(:popular_slugs) { should eql %w[no-vulns-popular] }
|
|
end
|
|
|
|
describe '#vulnerable_slugs' do
|
|
its(:vulnerable_slugs) { should eql %w[vulnerable-not-popular] }
|
|
end
|
|
end
|