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/graphql/types/user_type_spec.rb')
-rw-r--r--spec/graphql/types/user_type_spec.rb14
1 files changed, 13 insertions, 1 deletions
diff --git a/spec/graphql/types/user_type_spec.rb b/spec/graphql/types/user_type_spec.rb
index cf1e91afb80..7b34588b0ff 100644
--- a/spec/graphql/types/user_type_spec.rb
+++ b/spec/graphql/types/user_type_spec.rb
@@ -9,7 +9,19 @@ describe GitlabSchema.types['User'] do
it 'has the expected fields' do
expected_fields = %w[
- id user_permissions snippets name username avatarUrl webUrl todos state
+ id
+ user_permissions
+ snippets
+ name
+ username
+ avatarUrl
+ webUrl
+ todos
+ state
+ authoredMergeRequests
+ assignedMergeRequests
+ groupMemberships
+ projectMemberships
]
expect(described_class).to have_graphql_fields(*expected_fields)