Sha256: bb02031a3328848952c9276bf0a10d7b4baa9f30be88b48843594a04ae63750e

Contents?: true

Size: 455 Bytes

Versions: 4

Compression:

Stored size: 455 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'module'

    def self.targets
        %w(PHP JSP ASP)
    end

    def self.elements
        [ Element::FORM, Element::LINK, Element::COOKIE, Element::HEADER ]
    end

    def issue_count_per_element
        {
            Element::FORM => 2,
            Element::LINK => 4,
            Element::COOKIE => 1,
            Element::HEADER => 2
        }
    end

    easy_test
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arachni-0.4.5.2 spec/modules/audit/source_code_disclosure_spec.rb
arachni-0.4.5.1 spec/modules/audit/source_code_disclosure_spec.rb
arachni-0.4.5 spec/modules/audit/source_code_disclosure_spec.rb
arachni-0.4.4 spec/modules/audit/source_code_disclosure_spec.rb