Sha256: 256a6763cb66c334c8e2fda04d22b7d5cf21e25a373f75c9d6af1bfb3369e089
Contents?: true
Size: 670 Bytes
Versions: 11
Compression:
Stored size: 670 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-5647 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2013_5647.new # @check.debug = true end it "fires when vulnerable sounder 1.0.1 version is userd" do @check.dependencies = [{:name=>"sounder", :version=>'1.0.1'}] @check.vuln?.should == true end it "doesn't fire when sounder not vulnerable version is used" do @check.dependencies = [{:name=>"sounder", :version=>'1.0.2'}] @check.vuln?.should == false end it "doesn't fire when a very old sounder version is used" do @check.dependencies = [{:name=>"sounder", :version=>'0.9.2'}] @check.vuln?.should == false end end
Version data entries
11 entries across 11 versions & 1 rubygems