Sha256: ffc98cf779bf0e4f137fe7b154fef967594fcb69745d68c17ceb8a5f0ab97e15

Contents?: true

Size: 481 Bytes

Versions: 6

Compression:

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

    def issue_count_per_element
        {
            Element::Form   => 16,
            Element::Link   => 16,
            Element::Cookie => 16,
            Element::Header => 12,
            Element::LinkTemplate => 3
        }
    end

    easy_test
end

Version data entries

6 entries across 6 versions & 1 rubygems

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