Sha256: d340ba5e96d36dafa8af0e25decc01c2c06ec740c9b1f75ed9dcdd9eff5b8da3
Contents?: true
Size: 483 Bytes
Versions: 5
Compression:
Stored size: 483 Bytes
Contents
require 'spec_helper' describe "The OSVDB_116010 vulnerability" do before(:all) do @check = Dawn::Kb::OSVDB_116010.new # @check.debug = true end it "is reported when the vulnerable gem is detected" do @check.dependencies = [{:name=>"doorkeeper", :version=>"1.4.0"}] @check.vuln?.should == true end it "is not reported when a fixed release is detected" do @check.dependencies = [{:name=>"doorkeeper", :version=>"1.4.1"}] @check.vuln?.should == false end end
Version data entries
5 entries across 5 versions & 1 rubygems