Sha256: d506fd16c538e6acae13dd1218fe9e4ecd14cc42ed282ce13b2dfd14410dbd4d
Contents?: true
Size: 530 Bytes
Versions: 8
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-2513 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2013_2513.new # @check.debug = true end it "is reported when a flash_tool gem version 0.6.0 is detected" do @check.dependencies = [{:name=>"flash_tool", :version=>"0.6.0"}] expect(@check.vuln?).to eq(true) end it "is not reported when a flash_tool gem version 0.6.1 is detected" do @check.dependencies = [{:name=>"flash_tool", :version=>"0.6.1"}] expect(@check.vuln?).to eq(false) end end
Version data entries
8 entries across 8 versions & 1 rubygems