From ea4f1d73d7bb19369be1f7181c61a3e89135cdac Mon Sep 17 00:00:00 2001 From: Postmodern Date: Fri, 21 Oct 2022 15:45:36 -0700 Subject: [PATCH] Test that the CVE ID was ignored. --- spec/scanner_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/scanner_spec.rb b/spec/scanner_spec.rb index 6c742a77..afde727c 100644 --- a/spec/scanner_spec.rb +++ b/spec/scanner_spec.rb @@ -36,12 +36,12 @@ end context "when the :ignore option is given" do - subject { super().scan(ignore: ['OSVDB-89026']) } + subject { super().scan(ignore: ['CVE-2013-0156']) } it "should ignore the specified advisories" do ids = subject.map { |result| result.advisory.id } - expect(ids).not_to include('OSVDB-89026') + expect(ids).not_to include('CVE-2013-0156') end end end