Sha256: db1750f277a641045f497d0086e63d7b39f0453de4e0d2b91598f7cfcb80ea98
Contents?: true
Size: 607 Bytes
Versions: 8
Compression:
Stored size: 607 Bytes
Contents
require 'spec_helper' describe "The CVE-2014-2322 vulnerability" do before(:all) do @check = Codesake::Dawn::Kb::CVE_2014_2322.new # @check.debug = true end it "must be filled with CVSS information" it "is reported when a vulnerable arabic prawn gem version is found (0.0.1)" do @check.dependencies = [{:name=>"Arabic-Prawn", :version=>'0.0.1'}] @check.vuln?.should be_true end it "is not reported when a sage vulnerable arabic prawn gem version is found (0.0.2)" do @check.dependencies = [{:name=>"Arabic-Prawn", :version=>'0.0.2'}] @check.vuln?.should be_false end end
Version data entries
8 entries across 8 versions & 1 rubygems