Sha256: 2e0de7b8e9025689e19d00477504d4c05013ce0bbb954ae88967daf97256e019

Contents?: true

Size: 739 Bytes

Versions: 3

Compression:

Stored size: 739 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'check'

    def self.platforms
        [:mongodb]
    end

    def self.elements
        [ Element::Form, Element::Link, Element::Cookie, Element::Header,
          Element::LinkTemplate, Element::JSON, Element::XML ]
    end

    def issue_count_per_element_per_platform
        {
            mongodb: {
                Element::Form         => 2,
                Element::Link         => 2,
                Element::Cookie       => 2,
                Element::Header       => 1,
                Element::LinkTemplate => 1,
                Element::JSON         => 2,
                Element::XML          => 2
            }
        }
    end

    easy_test
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arachni-1.3.2 spec/components/checks/active/no_sql_injection_spec.rb
arachni-1.3.1 spec/components/checks/active/no_sql_injection_spec.rb
arachni-1.3 spec/components/checks/active/no_sql_injection_spec.rb