Changes the insertable to true in views that are insertable through triggers [fixes #206]

This commit is contained in:
Diogo Biazus
2015-06-22 00:16:23 -04:00
parent e93c96a6f8
commit f4011e5d8c
4 changed files with 38 additions and 5 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ spec = around dbWithSchema $ beforeWith setRole $ do
it "shows all the tables" $ \conn -> do
ts <- tables "1" conn
map tableName ts `shouldBe` ["authors_only","auto_incrementing_pk",
"compound_pk","has_fk","items","menagerie","no_pk", "simple_pk"]
"compound_pk","has_fk","insertable_view_with_join","items","menagerie","no_pk", "simple_pk"]
describe "columns" $ do
it "responds with each column for the table" $ \conn -> do