Sha256: 46499b090602102130547d343b94e8e16a5c2435ad3a02cc72d2d63a1c4fecbc

Contents?: true

Size: 806 Bytes

Versions: 5

Compression:

Stored size: 806 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::NestedCookie,
          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       => 4,
                Element::Header       => 1,
                Element::LinkTemplate => 2,
                Element::JSON         => 2,
                Element::XML          => 2,
                Element::NestedCookie => 3
            }
        }
    end

    easy_test
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/components/checks/active/no_sql_injection_spec.rb
arachni-1.6.1.2 spec/components/checks/active/no_sql_injection_spec.rb
arachni-1.6.1.1 spec/components/checks/active/no_sql_injection_spec.rb
arachni-1.6.1 spec/components/checks/active/no_sql_injection_spec.rb
arachni-1.6.0 spec/components/checks/active/no_sql_injection_spec.rb