Sha256: fb5fc41caa7877a2c625b4a07a5a8531888a622551830aa6b434bf4bfc31fb31

Contents?: true

Size: 622 Bytes

Versions: 3

Compression:

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

    easy_test
end

Version data entries

3 entries across 3 versions & 1 rubygems

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