blob: f320d9538f528ba4d60b9a5c78d60482827175a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Admin::AbuseReportDetailsSerializer, feature_category: :insider_threat do
let_it_be(:resource) { build_stubbed(:abuse_report) }
subject { described_class.new.represent(resource).keys }
describe '#represent' do
it 'serializes an abuse report' do
is_expected.to match_array([
:user,
:report,
:upload_note_attachment_path
])
end
end
end
|