Refactors tests to use new fixtures and remove some haskell functions that wont be necessary anymore

This commit is contained in:
Diogo Biazus
2015-12-08 00:44:49 -05:00
parent 027bbc6074
commit 0961524e70
12 changed files with 1010 additions and 595 deletions
+1 -3
View File
@@ -10,9 +10,7 @@ import SpecHelper
-- }}}
spec :: Spec
spec = beforeAll
(clearTable "postgrest.auth") . afterAll_ (clearTable "postgrest.auth")
$ around (withApp cfgDefault)
spec = around (withApp cfgDefault)
$ describe "authorization" $ do
it "hides tables that anonymous does not own" $