From 2cfabe4424e5c13390f91c8708a43f57641b51f1 Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 16 Sep 2020 17:22:23 -0600 Subject: test: ensure spotbugs scanner matches sast schema --- spec/integration/spotbugs_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/integration/spotbugs_spec.rb') diff --git a/spec/integration/spotbugs_spec.rb b/spec/integration/spotbugs_spec.rb index fa12203..6ff9395 100644 --- a/spec/integration/spotbugs_spec.rb +++ b/spec/integration/spotbugs_spec.rb @@ -1,8 +1,9 @@ # frozen_string_literal: true + RSpec.describe 'spotbugs' do let(:project_fixture) { 'java/maven/custom-tls' } let(:scanner) { 'spotbugs' } - specify { expect(subject).not_to be_nil } + specify { expect(subject).to match_schema(:sast) } specify { expect(subject['version']).to eql('3.0') } end -- cgit v1.2.3