Sha256: cce5df8caa8007bbc4d0edb8389d4497f5f537bf7c2142660234d2765bc9d810
Contents?: true
Size: 515 Bytes
Versions: 9
Compression:
Stored size: 515 Bytes
Contents
require 'spec_helper' describe "The CVE-2015-2963 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2015_2963.new # @check.debug = true end it "is reported when vulnerable paperclip gem is used 4.2.1)" do @check.dependencies = [{:name=>"paperclip", :version=>'4.2.1'}] @check.vuln?.should == true end it "is reported when not vulnerable paperclip gem is used (4.2.2)" do @check.dependencies = [{:name=>"paperclip", :version=>'4.2.2'}] @check.vuln?.should == false end end
Version data entries
9 entries across 9 versions & 1 rubygems