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