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