Sha256: ae2d7998d1f01353f36bf4e1d84a271d008c1a57595fd3b51316ddff8e523494

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 => 2,
                Element::JSON         => 2,
                Element::XML          => 2
            }
        }
    end

    easy_test
end

Version data entries

3 entries across 3 versions & 1 rubygems

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