Sha256: 71a2825388104cceca3fdf0c00d82358b37c26be36f3f3c6c194e2ba4fbeb38e
Contents?: true
Size: 520 Bytes
Versions: 9
Compression:
Stored size: 520 Bytes
Contents
require 'spec_helper' describe "The OSVDB_118830 vulnerability" do before(:all) do @check = Dawn::Kb::OSVDB_118830.new # @check.debug = true end it "is reported when a vulnerable version it has been found (2.1.1)" do @check.dependencies = [{:name=>"doorkeeper", :version=>"2.1.1"}] @check.vuln?.should == true end it "is not reported when a safe version it has been found (2.1.2)" do @check.dependencies = [{:name=>"doorkeepr", :version=>"2.1.2"}] @check.vuln?.should == false end end
Version data entries
9 entries across 9 versions & 1 rubygems