summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authormo khan <mo.m.khan@shopify.com>2020-12-23 16:44:27 -0700
committermo khan <mo.m.khan@shopify.com>2020-12-23 16:44:27 -0700
commitc9e2cb2accb9a1a484b0d709fe5eb5d537486e21 (patch)
tree2ea4eac78b1f1e81977dd9affca6247e212f404b /test/integration
parentae339b9477eea323caaf67371c5abd92723633cd (diff)
test: start to test schema
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/server_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/server_test.rb b/test/integration/server_test.rb
index 9e67241..754edff 100644
--- a/test/integration/server_test.rb
+++ b/test/integration/server_test.rb
@@ -14,7 +14,7 @@ class ServerTest < Minitest::Test
refute_empty last_response.body
json = JSON.parse(last_response.body)
- assert_equal 'mo', json['data']['me']
+ assert_equal 'mo', json['data']['me']['name']
end
def test_get_graphql_with_post_body