Sha256: f41c7968ca849c511a9fbc6807d41d92b2ff8a6a012a60dad43bbf077140289d
Contents?: true
Size: 532 Bytes
Versions: 16
Compression:
Stored size: 532 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-6459 vulnerability" do before(:all) do @check = Codesake::Dawn::Kb::CVE_2013_6459.new # @check.debug = true end it "fires when will_paginage 3.0.4 vulnerable version is used" do @check.dependencies = [{:name=>"will_paginate", :version=>'3.0.4'}] @check.vuln?.should be_true end it "doesn't fires when will_paginage 3.0.5 safe version is used" do @check.dependencies = [{:name=>"will_paginate", :version=>'3.0.5'}] @check.vuln?.should be_false end end
Version data entries
16 entries across 16 versions & 2 rubygems