More rubocop fixes
This commit is contained in:
@@ -25,7 +25,7 @@ describe WPScan::DB::DynamicFinders::Plugin do
|
||||
|
||||
context 'when aggressive argument is true' do
|
||||
it 'returns only the configs with a path parameter' do
|
||||
configs = subject.finder_configs(:Xpath, true)
|
||||
configs = subject.finder_configs(:Xpath, aggressive: true)
|
||||
|
||||
expect(configs.keys).to include('revslider')
|
||||
expect(configs.keys).to_not include('shareaholic')
|
||||
|
||||
@@ -20,7 +20,7 @@ shared_examples 'App::Finders::WpItems::UrlsInPage' do
|
||||
let(:fixture) { 'found.html' }
|
||||
|
||||
it 'returns the expected array' do
|
||||
expect(finder.items_from_links(type, uniq_links)).to eql expected_from_links
|
||||
expect(finder.items_from_links(type, uniq: uniq_links)).to eql expected_from_links
|
||||
end
|
||||
end
|
||||
|
||||
@@ -52,7 +52,7 @@ shared_examples 'App::Finders::WpItems::UrlsInPage' do
|
||||
let(:fixture) { 'found.html' }
|
||||
|
||||
it 'returns the expected array' do
|
||||
expect(finder.items_from_codes(type, uniq_codes)).to eql expected_from_codes
|
||||
expect(finder.items_from_codes(type, uniq: uniq_codes)).to eql expected_from_codes
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user