diff options
Diffstat (limited to 'spec/graphql/types/current_user_todos_type_spec.rb')
-rw-r--r-- | spec/graphql/types/current_user_todos_type_spec.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/graphql/types/current_user_todos_type_spec.rb b/spec/graphql/types/current_user_todos_type_spec.rb index 4ce97e1c006..febbe868f33 100644 --- a/spec/graphql/types/current_user_todos_type_spec.rb +++ b/spec/graphql/types/current_user_todos_type_spec.rb @@ -173,9 +173,7 @@ RSpec.describe GitlabSchema.types['CurrentUserTodos'] do end it 'returns correct data' do - result = execute_query(query_type, - graphql: query_without_state_arguments, - raise_on_error: true).to_h + result = execute_query(query_type, graphql: query_without_state_arguments, raise_on_error: true).to_h expect(result.dig('data', 'a', 'todos', 'nodes')).to contain_exactly( a_graphql_entity_for(todo_a), @@ -198,9 +196,7 @@ RSpec.describe GitlabSchema.types['CurrentUserTodos'] do end it 'returns correct data, when state arguments are supplied' do - result = execute_query(query_type, - raise_on_error: true, - graphql: with_state_arguments).to_h + result = execute_query(query_type, raise_on_error: true, graphql: with_state_arguments).to_h expect(result.dig('data', 'a', 'todos', 'nodes')).to contain_exactly( a_graphql_entity_for(todo_a) |