Sha256: d5753d0b1bd3445aa636b347266b3a8b767e97c48e0dc633de7e2000e6b8917f

Contents?: true

Size: 616 Bytes

Versions: 2

Compression:

Stored size: 616 Bytes

Contents

require 'spec_helper'
describe "The OSVDB_105971 vulnerability" do
	before(:all) do
		@check = Codesake::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   be_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   be_false
  end
  it "must be filled with CVE identifier"
  it "must be filled with CVSS information"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
codesake-dawn-1.1.3 spec/lib/kb/osvdb_105971_spec.rb
codesake-dawn-1.1.2 spec/lib/kb/osvdb_105971_spec.rb