diff options
Diffstat (limited to 'spec/requests/api/graphql/project/recent_issue_boards_query_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/project/recent_issue_boards_query_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/requests/api/graphql/project/recent_issue_boards_query_spec.rb b/spec/requests/api/graphql/project/recent_issue_boards_query_spec.rb new file mode 100644 index 00000000000..b3daf86c4af --- /dev/null +++ b/spec/requests/api/graphql/project/recent_issue_boards_query_spec.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe 'getting project recent issue boards' do + include GraphqlHelpers + + it_behaves_like 'querying a GraphQL type recent boards' do + let_it_be(:user) { create(:user) } + let_it_be(:parent) { create(:project, :public, namespace: user.namespace) } + let_it_be(:board) { create(:board, resource_parent: parent, name: 'test project board') } + let(:board_type) { 'project' } + end +end |