Skip to content

Commit

Permalink
Test that the CVE ID was ignored.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Aug 6, 2023
1 parent bc041d1 commit ea4f1d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/scanner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea4f1d7

Please sign in to comment.