Sha256: 67ba1fd6f754ea53db8a4e63b91d1f2d53c2d305fb016bc64601442989e8896e
Contents?: true
Size: 485 Bytes
Versions: 5
Compression:
Stored size: 485 Bytes
Contents
require 'spec_helper' describe "The OSVDB_115654 vulnerability" do before(:all) do @check = Dawn::Kb::OSVDB_115654.new # @check.debug = true end it "is reported when the vulnerable gem is detected" do @check.dependencies = [{:name=>"raven-ruby", :version=>"0.12.1"}] @check.vuln?.should == true end it "is not reported when a fixed release is detected" do @check.dependencies = [{:name=>"raven-ruby", :version=>"0.12.2"}] @check.vuln?.should == false end end
Version data entries
5 entries across 5 versions & 1 rubygems