diff options
Diffstat (limited to 'spec/lib/gitlab/graphql/pagination/externally_paginated_array_connection_spec.rb')
-rw-r--r-- | spec/lib/gitlab/graphql/pagination/externally_paginated_array_connection_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/gitlab/graphql/pagination/externally_paginated_array_connection_spec.rb b/spec/lib/gitlab/graphql/pagination/externally_paginated_array_connection_spec.rb index 932bcd8cd92..84e8f8b95e8 100644 --- a/spec/lib/gitlab/graphql/pagination/externally_paginated_array_connection_spec.rb +++ b/spec/lib/gitlab/graphql/pagination/externally_paginated_array_connection_spec.rb @@ -13,6 +13,12 @@ RSpec.describe Gitlab::Graphql::Pagination::ExternallyPaginatedArrayConnection d described_class.new(all_nodes, { max_page_size: values.size }.merge(arguments)) end + it_behaves_like 'a connection with collection methods' + + it_behaves_like 'a redactable connection' do + let(:unwanted) { 3 } + end + describe '#nodes' do let(:paged_nodes) { connection.nodes } |