diff options
Diffstat (limited to 'spec/graphql/resolvers/snippets')
-rw-r--r-- | spec/graphql/resolvers/snippets/blobs_resolver_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/graphql/resolvers/snippets/blobs_resolver_spec.rb b/spec/graphql/resolvers/snippets/blobs_resolver_spec.rb index fdbd87c32be..16e69f662c0 100644 --- a/spec/graphql/resolvers/snippets/blobs_resolver_spec.rb +++ b/spec/graphql/resolvers/snippets/blobs_resolver_spec.rb @@ -5,6 +5,10 @@ require 'spec_helper' RSpec.describe Resolvers::Snippets::BlobsResolver do include GraphqlHelpers + specify do + expect(described_class).to have_nullable_graphql_type(Types::Snippets::BlobType.connection_type) + end + describe '#resolve' do let_it_be(:current_user) { create(:user) } let_it_be(:snippet) { create(:personal_snippet, :private, :repository, author: current_user) } |