Skip to content
代码片段 群组 项目
用户头像
Alex Kalderimis 编辑于
This adds `GraphqlHelpers#a_graphql_entity_for`, which helps us write
expectations about results from GraphQL queries. In addition to the main
reason for this matcher (abstracting over `id: global_id_of(thing)`
checks), it handles simple field/method-name mappings and custom field
mappings, which accounts for 95% of all use cases.

This matcher can be converted back to a hash, which means it can be
destructured as `**a_graphql_entity_for(model)`.
19a5cdc7
历史
名称 最后提交 最后更新
..
delete_spec.rb