Sha256: 6059a4eace4f39e16c021a413029f017bdcab47588d66b8845ce37687c40d714

Contents?: true

Size: 587 Bytes

Versions: 7

Compression:

Stored size: 587 Bytes

Contents

require '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

7 entries across 7 versions & 1 rubygems

Version Path
arachni-0.4.5.2 spec/modules/audit/xss_script_tag_spec.rb
arachni-0.4.5.1 spec/modules/audit/xss_script_tag_spec.rb
arachni-0.4.5 spec/modules/audit/xss_script_tag_spec.rb
arachni-0.4.4 spec/modules/audit/xss_script_tag_spec.rb
arachni-0.4.3.2 spec/modules/audit/xss_script_tag_spec.rb
arachni-0.4.3.1 spec/modules/audit/xss_script_tag_spec.rb
arachni-0.4.3 spec/modules/audit/xss_script_tag_spec.rb