Commit aff8073f authored by Jonathan Schafer's avatar Jonathan Schafer

Rename OccurrenceReportsComparerEntity to Finding*

Rename Vulnerabilities::OccurrenceReportsComparerEntity to
Vulnerabilities::FindingReportsComparerEntity
Rename files and test
parent b26e9115
# frozen_string_literal: true # frozen_string_literal: true
class Vulnerabilities::OccurrenceReportsComparerEntity < Grape::Entity class Vulnerabilities::FindingReportsComparerEntity < Grape::Entity
include RequestAwareEntity include RequestAwareEntity
expose :base_report_created_at expose :base_report_created_at
......
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
class Vulnerabilities::OccurrenceDiffSerializer < BaseSerializer class Vulnerabilities::OccurrenceDiffSerializer < BaseSerializer
include WithPagination include WithPagination
entity Vulnerabilities::OccurrenceReportsComparerEntity entity Vulnerabilities::FindingReportsComparerEntity
end end
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe Vulnerabilities::OccurrenceReportsComparerEntity do describe Vulnerabilities::FindingReportsComparerEntity do
describe 'container scanning report comparison' do describe 'container scanning report comparison' do
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment