Commit cf914288 authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Reformat long list of expected fields

parent 587e39ab
......@@ -6,9 +6,24 @@ RSpec.describe GitlabSchema.types['Vulnerability'] do
let_it_be(:project) { create(:project) }
let_it_be(:user) { create(:user) }
let_it_be(:vulnerability) { create(:vulnerability, project: project) }
let(:fields) do
%i[userPermissions id title description user_notes_count state severity report_type resolved_on_default_branch vulnerability_path location scanner primary_identifier identifiers project issueLinks detected_at]
let_it_be(:fields) do
%i[userPermissions
id
title
description
user_notes_count
state
severity
report_type
resolved_on_default_branch
vulnerability_path
location
scanner
primary_identifier
identifiers
project
issueLinks
detected_at]
end
before do
......
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