Sha256: cd19e5573deb11ea34c274cbbe3d268d90881b433eb2183254102b2d0b6831d0
Contents?: true
Size: 830 Bytes
Versions: 11
Compression:
Stored size: 830 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-1756 vulnerability" do before(:all) do @check = 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 == 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 == 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 == 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 == false end end
Version data entries
11 entries across 11 versions & 1 rubygems