Sha256: fb20939298004893e1cc108882e03b360810f8cf9568c17ab7d61c0c5cd46020

Contents?: true

Size: 337 Bytes

Versions: 10

Compression:

Stored size: 337 Bytes

Contents

require_relative '../../../spec_helper'

describe name_from_filename do
    include_examples 'module'

    def self.targets
        %w(Generic)
    end

    def self.elements
        [ Element::COOKIE ]
    end

    def issue_count
        2
    end

    easy_test { issues.map { |i| i.var }.sort.should == %w(cookie cookie2).sort }
end

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.2 spec/modules/recon/grep/http_only_cookies_spec.rb
arachni-0.4.2 spec/modules/recon/grep/insecure_cookies_spec.rb
arachni-0.4.1.3 spec/modules/recon/grep/insecure_cookies_spec.rb
arachni-0.4.1.3 spec/modules/recon/grep/http_only_cookies_spec.rb
arachni-0.4.1.2 spec/modules/recon/grep/http_only_cookies_spec.rb
arachni-0.4.1.2 spec/modules/recon/grep/insecure_cookies_spec.rb
arachni-0.4.1.1 spec/modules/recon/grep/http_only_cookies_spec.rb
arachni-0.4.1.1 spec/modules/recon/grep/insecure_cookies_spec.rb
arachni-0.4.1 spec/modules/recon/grep/insecure_cookies_spec.rb
arachni-0.4.1 spec/modules/recon/grep/http_only_cookies_spec.rb