Sha256: 20fe2fd9ef9555b4206dd8e57360aac0672858559539767f30bbf1ff2332e6a9

Contents?: true

Size: 687 Bytes

Versions: 5

Compression:

Stored size: 687 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'check'

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

    def issue_count_per_element
        {
            Element::Form         => 150,
            Element::Link         => 150,
            Element::Cookie       => 300,
            Element::Header       => 75,
            Element::LinkTemplate => 150,
            Element::JSON         => 75,
            Element::XML          => 150,
            Element::NestedCookie => 225
        }
    end

    easy_test
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/components/checks/active/xpath_injection_spec.rb
arachni-1.6.1.2 spec/components/checks/active/xpath_injection_spec.rb
arachni-1.6.1.1 spec/components/checks/active/xpath_injection_spec.rb
arachni-1.6.1 spec/components/checks/active/xpath_injection_spec.rb
arachni-1.6.0 spec/components/checks/active/xpath_injection_spec.rb