diff options
Diffstat (limited to 'spec/requests/api/graphql/project/cluster_agents_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/project/cluster_agents_spec.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/requests/api/graphql/project/cluster_agents_spec.rb b/spec/requests/api/graphql/project/cluster_agents_spec.rb index a34df0ee6f4..bb716cf2849 100644 --- a/spec/requests/api/graphql/project/cluster_agents_spec.rb +++ b/spec/requests/api/graphql/project/cluster_agents_spec.rb @@ -61,11 +61,12 @@ RSpec.describe 'Project.cluster_agents' do tokens = graphql_data_at(:project, :cluster_agents, :nodes, :tokens, :nodes) - expect(tokens).to match([ - a_graphql_entity_for(token_3), - a_graphql_entity_for(token_2), - a_graphql_entity_for(token_1) - ]) + expect(tokens).to match( + [ + a_graphql_entity_for(token_3), + a_graphql_entity_for(token_2), + a_graphql_entity_for(token_1) + ]) end it 'does not suffer from N+1 performance issues' do |