summaryrefslogtreecommitdiff
path: root/spec/graphql/types/board_type_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/graphql/types/board_type_spec.rb')
-rw-r--r--spec/graphql/types/board_type_spec.rb14
1 files changed, 12 insertions, 2 deletions
diff --git a/spec/graphql/types/board_type_spec.rb b/spec/graphql/types/board_type_spec.rb
index dca3cfd8aaf..403fbe1f290 100644
--- a/spec/graphql/types/board_type_spec.rb
+++ b/spec/graphql/types/board_type_spec.rb
@@ -8,8 +8,18 @@ RSpec.describe GitlabSchema.types['Board'] do
specify { expect(described_class).to require_graphql_authorizations(:read_issue_board) }
it 'has specific fields' do
- expected_fields = %w[id name web_url web_path]
+ expected_fields = %w[
+ id
+ name
+ hideBacklogList
+ hideClosedList
+ createdAt
+ updatedAt
+ lists
+ webPath
+ webUrl
+ ]
- expect(described_class).to include_graphql_fields(*expected_fields)
+ expect(described_class).to have_graphql_fields(*expected_fields).at_least
end
end