Sha256: edf3b9e0b8df5469a1f0e1a360def4856c1f1233eeb2ca697aeb3d76c2d81a16

Contents?: true

Size: 620 Bytes

Versions: 3

Compression:

Stored size: 620 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
        {
            Element::Form         => 125,
            Element::Link         => 125,
            Element::Cookie       => 75,
            Element::Header       => 75,
            Element::LinkTemplate => 75,
            Element::JSON         => 75,
            Element::XML          => 150
        }
    end

    easy_test
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arachni-1.2.1 spec/components/checks/active/xpath_injection_spec.rb
arachni-1.2 spec/components/checks/active/xpath_injection_spec.rb
arachni-1.1 spec/components/checks/active/xpath_injection_spec.rb