Commit 5b301327 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch...

Merge branch '219401-foss-failure-in-rspec-spec-graphql-types-query_type_spec-rb-10-types-querytype-has-the' into 'master'

Resolve "FOSS failure in rspec ./spec/graphql/types/query_type_spec.rb:10 # Types::QueryType has the expected fields"

Closes #219401

See merge request gitlab-org/gitlab!33307
parents c3a9575c fa3a78d6
...@@ -9,23 +9,18 @@ describe GitlabSchema.types['Query'] do ...@@ -9,23 +9,18 @@ describe GitlabSchema.types['Query'] do
it 'has the expected fields' do it 'has the expected fields' do
expected_fields = %i[ expected_fields = %i[
current_user project
design_management namespace
geoNode
group group
echo echo
instanceSecurityDashboard
metadata metadata
namespace current_user
project
projects
snippets snippets
design_management
user user
vulnerabilities
vulnerabilitiesCountByDayAndSeverity
] ]
expect(described_class).to have_graphql_fields(*expected_fields) expect(described_class).to have_graphql_fields(*expected_fields).at_least
end end
describe 'namespace field' do describe 'namespace field' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment