Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/concerns/vulnerability_finding_helpers_spec.rb')
-rw-r--r--spec/models/concerns/vulnerability_finding_helpers_spec.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/spec/models/concerns/vulnerability_finding_helpers_spec.rb b/spec/models/concerns/vulnerability_finding_helpers_spec.rb
deleted file mode 100644
index 023ecccb520..00000000000
--- a/spec/models/concerns/vulnerability_finding_helpers_spec.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe VulnerabilityFindingHelpers do
- let(:cls) do
- Class.new do
- include VulnerabilityFindingHelpers
-
- attr_accessor :report_type
-
- def initialize(report_type)
- @report_type = report_type
- end
- end
- end
-
- describe '#requires_manual_resolution?' do
- it 'returns false if the finding does not require manual resolution' do
- expect(cls.new('sast').requires_manual_resolution?).to eq(false)
- end
-
- it 'returns true when the finding requires manual resolution' do
- expect(cls.new('secret_detection').requires_manual_resolution?).to eq(true)
- end
- end
-end