Sha256: 04f5110055275f32ebbe2179b40a002d1a833a55db9035550d87e3a6533bc779
Contents?: true
Size: 500 Bytes
Versions: 8
Compression:
Stored size: 500 Bytes
Contents
require 'spec_helper' describe "The OSVDB_120415 vulnerability" do before(:all) do @check = Dawn::Kb::OSVDB_120415.new # @check.debug = true end it "is reported when the vulnerable gem is detected" do @check.dependencies = [{:name=>"redcarpet", :version=>"3.2.2"}] expect(@check.vuln?).to eq(true) end it "is not reported when a fixed release is detected" do @check.dependencies = [{:name=>"redcarpet", :version=>"3.2.3"}] expect(@check.vuln?).to eq(false) end end
Version data entries
8 entries across 8 versions & 1 rubygems