Sha256: d45e08912411ce7e60ba7b85287ba2c4766719ce04bd580e4bb6a05b20735ea2
Contents?: true
Size: 840 Bytes
Versions: 16
Compression:
Stored size: 840 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-1756 vulnerability" do before(:all) do @check = Codesake::Dawn::Kb::CVE_2013_1756.new # @check.debug = true end it "is reported when dragonfly version 0.9.12 is used" do @check.dependencies = [{:name=>"dragonfly", :version=>'0.9.12'}] @check.vuln?.should be_true end it "is reported when dragonfly version 0.8.12 is used" do @check.dependencies = [{:name=>"dragonfly", :version=>'0.8.12'}] @check.vuln?.should be_true end it "is reported when dragonfly version 0.7.12 is used" do @check.dependencies = [{:name=>"dragonfly", :version=>'0.7.12'}] @check.vuln?.should be_true end it "is not reported when dragonfly version 0.9.13 is used" do @check.dependencies = [{:name=>"dragonfly", :version=>'0.9.13'}] @check.vuln?.should be_false end end
Version data entries
16 entries across 16 versions & 2 rubygems