Sha256: 65d517aa821a0e54f80c02ff2f7583a7e1b1725a1f9d957e3ca46f5c4ce0a313

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

require_relative '../../spec_helper'

describe name_from_filename do
    include_examples 'module'

    def self.targets
        %w(Generic)
    end

    def self.elements
        [ Element::FORM, Element::LINK, Element::COOKIE, Element::HEADER ]
    end

    def issue_count
        3
    end

    easy_test do
        issues.each do |i|
            i.trusted?.should be_false
            i.untrusted?.should be_true
            i.requires_verification?.should be_true
            i.verification.should be_true
            i.remarks[:module].should == [current_module::REMARK]
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arachni-0.4.2 spec/modules/audit/xss_script_tag_spec.rb