WIP: Testing compound key insert reveals weird type conversion

This commit is contained in:
Joe Nelson
2014-08-25 19:43:23 -07:00
parent eef7860922
commit c007dbb2b2
3 changed files with 55 additions and 24 deletions
+4 -3
View File
@@ -15,9 +15,10 @@ spec = around appWithFixture $ do
it "lists views in schema" $
get "/" `shouldRespondWith`
[json| [
{"schema":"1","name":"auto_incrementing_pk","insertable":true},
{"schema":"1","name":"contacts","insertable":true}]
|]
{"schema":"1","name":"auto_incrementing_pk","insertable":true}
, {"schema":"1","name":"compound_pk","insertable":true}
, {"schema":"1","name":"simple_pk","insertable":true}
] |]
{matchStatus = 200}
describe "Table info" $