Sha256: e6627189ba8c83a9584c23528cf5ee5e2a0b2edae57fb4e45e61965dc17a4a0c
Contents?: true
Size: 932 Bytes
Versions: 8
Compression:
Stored size: 932 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-5671 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2013_5671.new # @check.debug = true end it "is reported when a fog-dragonfly gem version 0.8.2 is detected" do @check.dependencies = [{:name=>"fog-dragonfly", :version=>"0.8.2"}] expect(@check.vuln?).to eq(true) end it "is reported when a fog-dragonfly gem version 0.8.0 is detected" do @check.dependencies = [{:name=>"fog-dragonfly", :version=>"0.8.0"}] expect(@check.vuln?).to eq(true) end it "is reported when a fog-dragonfly gem version 0.7.5 is detected" do @check.dependencies = [{:name=>"fog-dragonfly", :version=>"0.7.5"}] expect(@check.vuln?).to eq(true) end it "is not reported when a paratrooper-pingdom gem version 0.8.3 is detected" do @check.dependencies = [{:name=>"fog-dragonfly", :version=>"0.8.3"}] expect(@check.vuln?).to eq(false) end end
Version data entries
8 entries across 8 versions & 1 rubygems