Sha256: 6cefe5a6850021e3ecc2c635641aa54a7b8ca5331ab0da931b6a3bfce7da6b01
Contents?: true
Size: 525 Bytes
Versions: 8
Compression:
Stored size: 525 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'}] expect(@check.vuln?).to eq(true) end it "is reported when not vulnerable paperclip gem is used (4.2.2)" do @check.dependencies = [{:name=>"paperclip", :version=>'4.2.2'}] expect(@check.vuln?).to eq(false) end end
Version data entries
8 entries across 8 versions & 1 rubygems