Sha256: 8186619c8f7959cf908653f6e1529d08c713d5c36b9eb938b23569045583e12c

Contents?: true

Size: 317 Bytes

Versions: 9

Compression:

Stored size: 317 Bytes

Contents

require '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

9 entries across 9 versions & 1 rubygems

Version Path
arachni-0.4.7 spec/reports/html_spec.rb
arachni-0.4.6 spec/reports/html_spec.rb
arachni-0.4.5.2 spec/reports/html_spec.rb
arachni-0.4.5.1 spec/reports/html_spec.rb
arachni-0.4.5 spec/reports/html_spec.rb
arachni-0.4.4 spec/reports/html_spec.rb
arachni-0.4.3.2 spec/reports/html_spec.rb
arachni-0.4.3.1 spec/reports/html_spec.rb
arachni-0.4.3 spec/reports/html_spec.rb