Sha256: c8c02e6c622b0ff2b0aee9d94cfd05f000103c81647b028c9e57d788e9e2dea6
Contents?: true
Size: 701 Bytes
Versions: 5
Compression:
Stored size: 701 Bytes
Contents
require 'spec_helper' describe "The CVE-2015-4020 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2015_4020.new # @check.debug = true end it "is reported when the vulnerable rubygem is detected" do @check.my_gem_version="2.4.3" @check.vuln?.should == true end it "is reported when the vulnerable rubygem is detected" do @check.my_gem_version="2.2.4" @check.vuln?.should == true end it "is reported when the vulnerable rubygem is detected" do @check.my_gem_version="2.0.16" @check.vuln?.should == true end it "is not reported when a fixed release is detected" do @check.my_gem_version="2.4.9" @check.vuln?.should == false end end
Version data entries
5 entries across 5 versions & 1 rubygems