Added spec for the new regex

This commit is contained in:
lp1
2018-10-29 11:02:46 +01:00
parent adc5841261
commit 4afc756ccd

View File

@@ -37,5 +37,11 @@ shared_examples WPScan::Target::Platform::WordPress do
its(:wordpress_hosted?) { should be true }
end
context 'when the target host doesn\'t matches' do
let(:url) { 'http://ex-wordpress.com' }
its(:wordpress_hosted?) { should be false }
end
end
end