tests for &select= feature and support for casting columns (usefull when extracting subfields from json columns)

This commit is contained in:
Ruslan Talpa
2015-09-05 15:05:53 +03:00
parent 6c16395dfb
commit 9c8ac2a489
5 changed files with 75 additions and 9 deletions
+1
View File
@@ -15,6 +15,7 @@ spec = around withApp $ do
request methodGet "/" [] ""
`shouldRespondWith` [json| [
{"schema":"1","name":"auto_incrementing_pk","insertable":true}
, {"schema":"1","name":"complex_items","insertable":true}
, {"schema":"1","name":"compound_pk","insertable":true}
, {"schema":"1","name":"has_count_column","insertable":false}
, {"schema":"1","name":"has_fk","insertable":true}