blob: f22d92a17637118a48cbf227bde5d9d47c89a670 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# 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 include(
:user,
:reporter,
:report,
:actions
)
end
end
end
|