Sha256: 3fcb5d413b3ebfbe32476b4c30f5e208f091221b8491df33597b9d6d865d168f
Contents?: true
Size: 571 Bytes
Versions: 12
Compression:
Stored size: 571 Bytes
Contents
require 'spec_helper' describe "The CVE-2014-1234 vulnerability" do before(:all) do @check = Codesake::Dawn::Kb::CVE_2014_1234.new # @check.debug = true end it "is reported when a paratrooper-newrelic gem version 1.0.1 is detected" do @check.dependencies = [{:name=>"paratrooper-newrelic", :version=>"1.0.1"}] @check.vuln?.should be_true end it "is not reported when a paratrooper-newrelic gem version 1.0.2 is detected" do @check.dependencies = [{:name=>"paratrooper-newrelic", :version=>"1.0.2"}] @check.vuln?.should be_false end end
Version data entries
12 entries across 12 versions & 2 rubygems