Sha256: ebea42502a0a39583608e95d0cdeaf7fea0f380acc189792e3b62b5fe5ab907f
Contents?: true
Size: 520 Bytes
Versions: 8
Compression:
Stored size: 520 Bytes
Contents
require 'spec_helper' describe "The CVE-2015-3224 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2015_3224.new # @check.debug = true end it "is reported when vulnerable web-console gem is used (2.1.2)" do @check.dependencies = [{:name=>"web-console", :version=>'2.1.2'}] expect(@check.vuln?).to eq(true) end it "is not reported when safe rack gem is used (2.1.3)" do @check.dependencies = [{:name=>"web-console", :version=>'2.1.3'}] expect(@check.vuln?).to eq(false) end end
Version data entries
8 entries across 8 versions & 1 rubygems