Sha256: 42d353ac6d0c504d0dd717ee4b63a251f7145e89e8c2a9e14a6e30fb8881e9ba
Contents?: true
Size: 859 Bytes
Versions: 9
Compression:
Stored size: 859 Bytes
Contents
require 'spec_helper' describe "The CVE-2014-0080 vulnerability" do before(:all) do @check = Codesake::Dawn::Kb::CVE_2014_0080.new # @check.debug = true end it "affects version 4.0.0" do @check.dependencies = [{:name=>"rails", :version=>'4.0.0'}] @check.vuln?.should be_true end it "affects version 4.0.2" do @check.dependencies = [{:name=>"rails", :version=>'4.0.2'}] @check.vuln?.should be_true end it "affects version 4.0.1" do @check.dependencies = [{:name=>"rails", :version=>'4.0.1'}] @check.vuln?.should be_true end it "affects version 4.1.0.beta1" do @check.dependencies = [{:name=>"rails", :version=>'4.1.0.beta1'}] @check.vuln?.should be_true end it "doesn't affect version 4.0.3" do @check.dependencies = [{:name=>"rails", :version=>'4.0.3'}] @check.vuln?.should be_false end end
Version data entries
9 entries across 9 versions & 2 rubygems