Sha256: 56cea8d9cb33682dec4ffc310d9a4c28a1d338ccc4a27d5849c0d2799cb701e9

Contents?: true

Size: 511 Bytes

Versions: 5

Compression:

Stored size: 511 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::JSON, Element::XML ]
    end

    def issue_count_per_element
        {
            Element::Form   => 5,
            Element::Link   => 5,
            Element::Cookie => 5,
            Element::Header => 5,
            Element::JSON   => 3,
            Element::XML    => 6
        }
    end

    easy_test
end

Version data entries

5 entries across 5 versions & 1 rubygems

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