spec/reports/xml_spec.rb in arachni-0.4.1 vs spec/reports/xml_spec.rb in arachni-0.4.1.1
- old
+ new
@@ -2,12 +2,12 @@
describe name_from_filename do
include_examples 'report'
test_with_full_report do
- Nokogiri::XML( IO.read( outfile ) ).css( 'issue' ).size.should == full_report.issues.size
+ Nokogiri::XML( IO.read( outfile ) )
end
test_with_empty_report do
- Nokogiri::XML( IO.read( outfile ) ).css( 'issue' ).size.should == empty_report.issues.size
+ Nokogiri::XML( IO.read( outfile ) )
end
end