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/serializers/codequality_degradation_entity_spec.rb')
-rw-r--r--spec/serializers/codequality_degradation_entity_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/serializers/codequality_degradation_entity_spec.rb b/spec/serializers/codequality_degradation_entity_spec.rb
index 3d07564c5dc..dc15fa02a21 100644
--- a/spec/serializers/codequality_degradation_entity_spec.rb
+++ b/spec/serializers/codequality_degradation_entity_spec.rb
@@ -8,18 +8,6 @@ RSpec.describe CodequalityDegradationEntity, feature_category: :code_quality do
describe '#as_json' do
subject { entity.as_json }
- context 'when sast_reports_in_inline_diff is disabled' do
- before do
- stub_feature_flags(sast_reports_in_inline_diff: false)
- end
-
- let(:codequality_degradation) { build(:codequality_degradation_1) }
-
- it 'does not contain fingerprint' do
- expect(subject[:fingerprint]).to be_nil
- end
- end
-
context 'when codequality contains an error' do
context 'when line is included in location' do
let(:codequality_degradation) { build(:codequality_degradation_2) }