Sha256: ea060d86a785f6b3716906cdf08c3ecb7ef8c03baf5d283ee74353c7bb06f156

Contents?: true

Size: 543 Bytes

Versions: 5

Compression:

Stored size: 543 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 ]
    end

    def issue_count_per_element
        {
            Element::Form         => 5,
            Element::Link         => 5,
            Element::Cookie       => 10,
            Element::Header       => 5,
            Element::LinkTemplate => 5,
            Element::NestedCookie => 10
        }
    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/xss_tag_spec.rb
arachni-1.6.1.2 spec/components/checks/active/xss_tag_spec.rb
arachni-1.6.1.1 spec/components/checks/active/xss_tag_spec.rb
arachni-1.6.1 spec/components/checks/active/xss_tag_spec.rb
arachni-1.6.0 spec/components/checks/active/xss_tag_spec.rb