Sha256: 1ad46e432cb36249307f1fc7e775daa4cec27ae9258182f52f3562b8ef6340d4
Contents?: true
Size: 523 Bytes
Versions: 9
Compression:
Stored size: 523 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-2090 vulnerability" do before(:all) do @check = Codesake::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'}] @check.vuln?.should be_true end it "doesn't fire when not vulnerable cremefraiche version is used" do @check.dependencies = [{:name=>"cremefraiche", :version=>'0.6.2'}] @check.vuln?.should be_false end end
Version data entries
9 entries across 9 versions & 2 rubygems