2019-05-12 21:10:46 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 09:08:32 +00:00
|
|
|
RSpec.describe GitlabSchema.types['ProjectStatistics'] do
|
2020-06-29 09:09:01 +00:00
|
|
|
it 'has all the required fields' do
|
2020-03-18 18:09:35 +00:00
|
|
|
expect(described_class).to have_graphql_fields(:storage_size, :repository_size, :lfs_objects_size,
|
2019-06-04 12:11:41 +00:00
|
|
|
:build_artifacts_size, :packages_size, :commit_count,
|
2020-06-29 09:09:01 +00:00
|
|
|
:wiki_size, :snippets_size)
|
2019-05-12 21:10:46 +00:00
|
|
|
end
|
|
|
|
end
|