Updates rubocop & fixes offences
This commit is contained in:
@@ -13,7 +13,7 @@ describe WPScan::Finders::DynamicFinder::Version::Comment do
|
||||
|
||||
let(:finder_module) { WPScan::Finders::Version::Rspec }
|
||||
let(:finder_class) { WPScan::Finders::Version::Rspec::Comment }
|
||||
let(:finder_config) { { 'pattern' => /some version: (?<v>[\d\.]+)/i } }
|
||||
let(:finder_config) { { 'pattern' => /some version: (?<v>[\d.]+)/i } }
|
||||
let(:default) { { 'xpath' => '//comment()', 'confidence' => 60 } }
|
||||
|
||||
before { described_class.create_child_class(finder_module, :Comment, finder_config) }
|
||||
|
||||
Reference in New Issue
Block a user