Sha256: 7f998687121140a130e33c4f21edd4a44ac60babbcc002ba838dfc5380fbb5eb

Contents?: true

Size: 516 Bytes

Versions: 3

Compression:

Stored size: 516 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   => 24,
            Element::Link   => 24,
            Element::Cookie => 12,
            Element::Header => 6,
            Element::JSON   => 12,
            Element::XML    => 12
        }
    end

    easy_test
end

Version data entries

3 entries across 3 versions & 1 rubygems

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