Sha256: 829afff52bf26df8b346ed8594ea6b6d5e78181d9c212e9bf63e324e956cd572

Contents?: true

Size: 481 Bytes

Versions: 7

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   => 14,
            Element::Link   => 14,
            Element::Cookie => 14,
            Element::Header => 10,
            Element::LinkTemplate => 1
        }
    end

    easy_test
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 spec/components/checks/active/xss_script_context_spec.rb
arachni-1.0.5 spec/components/checks/active/xss_script_context_spec.rb
arachni-1.0.4 spec/components/checks/active/xss_script_context_spec.rb
arachni-1.0.3 spec/components/checks/active/xss_script_context_spec.rb
arachni-1.0.2 spec/components/checks/active/xss_script_context_spec.rb
arachni-1.0.1 spec/components/checks/active/xss_script_context_spec.rb
arachni-1.0 spec/components/checks/active/xss_script_context_spec.rb