summaryrefslogtreecommitdiff
path: root/spec/graphql
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-03 18:08:46 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-03 18:08:46 +0000
commit63a015fd85ae35634eb882d0078e65d80300816c (patch)
tree317928bc138d54e28980962e813004876398a7ac /spec/graphql
parent55693cc1ec8ac79444bc7214d2812a4ac41bf043 (diff)
downloadgitlab-ce-63a015fd85ae35634eb882d0078e65d80300816c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/graphql')
-rw-r--r--spec/graphql/types/snippets/blob_type_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/graphql/types/snippets/blob_type_spec.rb b/spec/graphql/types/snippets/blob_type_spec.rb
index f1837538b53..e7d4e5dfa2d 100644
--- a/spec/graphql/types/snippets/blob_type_spec.rb
+++ b/spec/graphql/types/snippets/blob_type_spec.rb
@@ -6,7 +6,8 @@ describe GitlabSchema.types['SnippetBlob'] do
it 'has the correct fields' do
expected_fields = [:highlighted_data, :raw_path,
:size, :binary, :name, :path,
- :simple_viewer, :rich_viewer]
+ :simple_viewer, :rich_viewer,
+ :mode]
is_expected.to have_graphql_fields(*expected_fields)
end