Sha256: 0bf84ad412314573f6a6d9fa9c28526fb1c97d327281fd49edfbd8754452186b
Contents?: true
Size: 548 Bytes
Versions: 7
Compression:
Stored size: 548 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.3.9)" do @check.dependencies = [{:name=>'rack-ssl', :version=>'1.3.9'}] @check.vuln?.should be_true end it "is reported when rack-ssl not vulnerable version it has been found (1.4.0)" do @check.dependencies = [{:name=>'rack-ssl', :version=>'1.4.0'}] @check.vuln?.should be_false end end
Version data entries
7 entries across 7 versions & 2 rubygems