Sha256: acf63089286c4ca9cae84251a5fbe76b3bd9c5afb873a24d6c52c6e3f991f48b
Contents?: true
Size: 523 Bytes
Versions: 8
Compression:
Stored size: 523 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-2090 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2013_2090.new # @check.debug = true end it "fires when vulnerable cremefraiche version is used" do @check.dependencies = [{:name=>"cremefraiche", :version=>'0.6.1'}] expect(@check.vuln?).to eq(true) end it "doesn't fire when not vulnerable cremefraiche version is used" do @check.dependencies = [{:name=>"cremefraiche", :version=>'0.6.2'}] expect(@check.vuln?).to eq(false) end end
Version data entries
8 entries across 8 versions & 1 rubygems