Sha256: dfc830b7d083312594f9ea73a8b35249412465618f837e74c9fc4ac391df4ccd

Contents?: true

Size: 663 Bytes

Versions: 3

Compression:

Stored size: 663 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'check'

    def self.elements
        [ Element::Form, Element::Link, Element::Cookie, Element::Header,
          Element::LinkTemplate, Element::JSON, Element::XML ]
    end

    def issue_count_per_element
        i = current_check.error_strings.size

        {
            Element::Form         => i,
            Element::Link         => i,
            Element::Cookie       => i,
            Element::Header       => i,
            Element::LinkTemplate => i * 2,
            Element::JSON         => i,
            Element::XML          => i * 2
        }
    end
    easy_test
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arachni-1.5.1 spec/components/checks/active/ldap_injection_spec.rb
arachni-1.5 spec/components/checks/active/ldap_injection_spec.rb
arachni-1.4 spec/components/checks/active/ldap_injection_spec.rb