summaryrefslogtreecommitdiff
path: root/spec/integration/spotbugs_spec.rb
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-09-16 17:22:23 -0600
committermo khan <mo.khan@gmail.com>2020-09-16 17:22:23 -0600
commit2cfabe4424e5c13390f91c8708a43f57641b51f1 (patch)
tree9d7bbe64deb1bc53ee7f0e0aca4f167f047174c1 /spec/integration/spotbugs_spec.rb
parent20595e44b91a72dc39f72090bf9aed3b7db2a1bc (diff)
test: ensure spotbugs scanner matches sast schema
Diffstat (limited to 'spec/integration/spotbugs_spec.rb')
-rw-r--r--spec/integration/spotbugs_spec.rb3
1 files changed, 2 insertions, 1 deletions
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