summaryrefslogtreecommitdiff
path: root/spec/graphql
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2019-06-04 12:11:41 +0000
committerNick Thomas <nick@gitlab.com>2019-06-04 12:11:41 +0000
commit4e251d01de8014a494049710ac27146a3f049d89 (patch)
treee6984b36b73e489c258ae7692847f7a33ba3f9a3 /spec/graphql
parent6eee9335c4576b908941a8aab5cb0f7588a2d14d (diff)
downloadgitlab-ce-4e251d01de8014a494049710ac27146a3f049d89.tar.gz
Expose wiki_size on GraphQL API
Diffstat (limited to 'spec/graphql')
-rw-r--r--spec/graphql/types/project_statistics_type_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/graphql/types/project_statistics_type_spec.rb b/spec/graphql/types/project_statistics_type_spec.rb
index 485e194edb1..e9feac57a36 100644
--- a/spec/graphql/types/project_statistics_type_spec.rb
+++ b/spec/graphql/types/project_statistics_type_spec.rb
@@ -5,6 +5,7 @@ require 'spec_helper'
describe GitlabSchema.types['ProjectStatistics'] do
it "has all the required fields" do
is_expected.to have_graphql_fields(:storage_size, :repository_size, :lfs_objects_size,
- :build_artifacts_size, :packages_size, :commit_count)
+ :build_artifacts_size, :packages_size, :commit_count,
+ :wiki_size)
end
end