Sha256: d4dae1088e1aaa83598f2f9add116205cdf040cc3c3bac126b2aa92dec434916

Contents?: true

Size: 329 Bytes

Versions: 5

Compression:

Stored size: 329 Bytes

Contents

require_relative '../spec_helper'

describe name_from_filename do
    include_examples 'report'

    test_with_full_report do
        Nokogiri::HTML( IO.read( outfile ) ).css( '.issue' ).should be_any
    end

    test_with_empty_report do
        Nokogiri::HTML( IO.read( outfile ) ).css( '.issue' ).should be_empty
    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.2 spec/reports/html_spec.rb
arachni-0.4.1.3 spec/reports/html_spec.rb
arachni-0.4.1.2 spec/reports/html_spec.rb
arachni-0.4.1.1 spec/reports/html_spec.rb
arachni-0.4.1 spec/reports/html_spec.rb