Sha256: 2f8ac515657bd047205bcaf7dcb07ed71bad10983589fac9ce03cf87b7a243ea
Contents?: true
Size: 559 Bytes
Versions: 9
Compression:
Stored size: 559 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-4593 vulnerability" do before(:all) do @check = Codesake::Dawn::Kb::CVE_2013_4593.new # @check.debug = true end it "is reported when a omniauth-facebook gem version 1.5.0 is detected" do @check.dependencies = [{:name=>"omniauth-facebook", :version=>"1.5.0"}] @check.vuln?.should be_true end it "is not reported when a omniauth-facebook gem version 1.5.1 is detected" do @check.dependencies = [{:name=>"omniauth-facebook", :version=>"1.5.1"}] @check.vuln?.should be_false end end
Version data entries
9 entries across 9 versions & 2 rubygems