Sha256: be3a3f60fd0f2cd3bec8729bd0db227975473e42a53e37b940bc585eefc446bf

Contents?: true

Size: 592 Bytes

Versions: 3

Compression:

Stored size: 592 Bytes

Contents

require 'spec_helper'
describe "The CVE-2014-2538 vulnerability" do
	before(:all) do
		@check = Codesake::Dawn::Kb::CVE_2014_2538.new
		# @check.debug = true
	end
  it "is reported when rack-ssl vulnerable version it has been found (1.4.0)" do
    @check.dependencies = [{:name=>'rack-ssl', :version=>'1.4.0'}]
    @check.vuln?.should   be_true
  end
  it "is reported when rack-ssl not vulnerable version it has been found (1.5.0)" do
    @check.dependencies = [{:name=>'rack-ssl', :version=>'1.5.0'}]
    @check.vuln?.should   be_false
  end
  it "must be filled with CVSS information"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
codesake-dawn-1.1.0.rc2 spec/lib/kb/cve_2014_2538_spec.rb
codesake-dawn-1.1.0.rc1 spec/lib/kb/cve_2014_2538_spec.rb
codesake-dawn-1.0.6 spec/lib/kb/cve_2014_2538_spec.rb