13 lines
418 B
Ruby
13 lines
418 B
Ruby
describe WPScan::Finders::MainTheme::Base do
|
|
subject(:main_theme) { described_class.new(target) }
|
|
let(:target) { WPScan::Target.new(url) }
|
|
let(:url) { 'http://ex.lo/' }
|
|
|
|
describe '#finders' do
|
|
it 'contains the expected finders' do
|
|
expect(main_theme.finders.map { |f| f.class.to_s.demodulize })
|
|
.to eq %w[CssStyle WooFrameworkMetaGenerator UrlsInHomepage]
|
|
end
|
|
end
|
|
end
|