Sha256: 6a9b11ed14b213b4e8a68bceabd037531e4f14ce42836b2dc4f6f9eec628cc60
Contents?: true
Size: 509 Bytes
Versions: 9
Compression:
Stored size: 509 Bytes
Contents
require 'spec_helper' describe "The OSVDB_119927 vulnerability" do before(:all) do @check = Dawn::Kb::OSVDB_119927.new # @check.debug = true end it "is reported when a vulnerable version it has been found (0.7.3)" do @check.dependencies = [{:name=>"http", :version=>"0.7.3"}] @check.vuln?.should == true end it "is not reported when a safe version it has been found (0.8.0)" do @check.dependencies = [{:name=>"http", :version=>"0.8.0"}] @check.vuln?.should == false end end
Version data entries
9 entries across 9 versions & 1 rubygems