   "input": {
     "clientMutationId": "123",
     "source": {"name": "test source"},
-    "file": {
-      "filepath": "testfile3.txt",
-        "size": 12,
-        "mtime": "2013-06-05T06:40:25.000Z",
-      "atime": "2013-06-05T06:40:25.000Z",
-      "ctime": "2013-06-05T06:40:25.000Z",
-      "birthtime": "2013-06-05T06:40:25.000Z",
-      "mode": 100644
-    }
+    "file": #{file_info_json}
   }
 }
 }


  test "creating a file", context do
    client = context[:client]
    query = """
{"query": "mutation getOrCreateFile($input: GetOrCreateFileInput!) {
  getOrCreateFile(input: $input) {
            clientMutationId
            file {
            	filepath
            }
        }
    }",

      message: "Field `getOrCreateFile': Not logged in"}])
    assert_data(query, %{"getOrCreateFile" => %{
      "clientMutationId" => "123",
      "file" => file_info,
       }}, client)
  end
end
