Sha256: d143038fd0a73a46b8955e5719897f9a762e2fec5f1fb65a1488e9635f937776

Contents?: true

Size: 659 Bytes

Versions: 6

Compression:

Stored size: 659 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,
            Element::JSON         => i,
            Element::XML          => i * 2
        }
    end
    easy_test
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
arachni-1.3.2 spec/components/checks/active/ldap_injection_spec.rb
arachni-1.3.1 spec/components/checks/active/ldap_injection_spec.rb
arachni-1.3 spec/components/checks/active/ldap_injection_spec.rb
arachni-1.2.1 spec/components/checks/active/ldap_injection_spec.rb
arachni-1.2 spec/components/checks/active/ldap_injection_spec.rb
arachni-1.1 spec/components/checks/active/ldap_injection_spec.rb