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/blame/commit_data_type_spec.rb')
-rw-r--r--spec/graphql/types/blame/commit_data_type_spec.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/graphql/types/blame/commit_data_type_spec.rb b/spec/graphql/types/blame/commit_data_type_spec.rb
new file mode 100644
index 00000000000..432f09bf8f7
--- /dev/null
+++ b/spec/graphql/types/blame/commit_data_type_spec.rb
@@ -0,0 +1,21 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+RSpec.describe Types::Blame::CommitDataType,
+ feature_category: :source_code_management do
+ include GraphqlHelpers
+
+ specify { expect(described_class.graphql_name).to eq('CommitData') }
+
+ specify do
+ expect(described_class).to have_graphql_fields(
+ :age_map_class,
+ :author_avatar,
+ :commit_author_link,
+ :commit_link,
+ :project_blame_link,
+ :time_ago_tooltip
+ ).at_least
+ end
+end