18 lines
428 B
Ruby
18 lines
428 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|