Sha256: f7c784f724b9a2dd970c35d17fd59be36810e98b583aeeb4e72bf3aec0a01fc6
Contents?: true
Size: 513 Bytes
Versions: 11
Compression:
Stored size: 513 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'}] @check.vuln?.should == 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 == false end end
Version data entries
11 entries across 11 versions & 1 rubygems