Sha256: 2ee3ac9e8c1838888488cb7fda47f661a7a064f74678865e367869c1abed1a96
Contents?: true
Size: 721 Bytes
Versions: 8
Compression:
Stored size: 721 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" expect(@check.vuln?).to eq(true) end it "is reported when the vulnerable rubygem is detected" do @check.my_gem_version="2.2.4" expect(@check.vuln?).to eq(true) end it "is reported when the vulnerable rubygem is detected" do @check.my_gem_version="2.0.16" expect(@check.vuln?).to eq(true) end it "is not reported when a fixed release is detected" do @check.my_gem_version="2.4.9" expect(@check.vuln?).to eq(false) end end
Version data entries
8 entries across 8 versions & 1 rubygems