spec/support/shared/path_extractor.rb in arachni-1.1 vs spec/support/shared/path_extractor.rb in arachni-1.2
- old
+ new
@@ -31,10 +31,10 @@
def actual_results
results_for( name )
end
def results_for( name )
- paths = extractors[name].new.run( doc ) || []
+ paths = extractors[name].new( document: doc, html: text ).run || []
paths.delete( 'http://www.w3.org/TR/REC-html40/loose.dtd' )
paths.compact.flatten
end
module Arachni::Parser::Extractors;end