Sha256: 18985c14889fdbd302de08ac09ba9b2dbe82d9a965d76fe8fc02bcc67adfdc40
Contents?: true
Size: 518 Bytes
Versions: 8
Compression:
Stored size: 518 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-4203 vulnerability" do before(:all) do @check = Codesake::Dawn::Kb::CVE_2013_4203.new # @check.debug = true end it "is reported when a vulnerable rgpg version is detected (0.2.2)" do @check.dependencies = [{:name=>"rgpg", :version=>"0.2.2"}] @check.vuln?.should be_true end it "is not reported when a safe rgpg version is detected (0.2.3)" do @check.dependencies = [{:name=>"rgpg", :version=>"0.2.3"}] @check.vuln?.should be_false end end
Version data entries
8 entries across 8 versions & 2 rubygems