Commit Graph
30 Commits
Author SHA1 Message Date
Diogo Biazus 4277284a69 Adds table tsearch to test for @@ operator against a tsvector field. Fixes StructureSpec accordingly. 2015-05-22 12:15:14 -04:00
Federico Rampazzo 77aecc9e86 JWT support 2015-05-20 06:01:50 +01:00
Joe Nelson 9792b9b46a Allow filtering by values inside json columns 2015-04-04 17:38:54 -07:00
Joe Nelson e37d5d9b25 Style tweak 2015-02-15 15:59:49 -08:00
Adam C. Baker c9b960f955 only create schema once 2014-12-29 17:57:31 -08:00
Adam C. Baker 2ae99daa12 resetDb once for each set of tests. 2014-12-29 17:57:31 -08:00
Joe Nelson dbe1f59066 Update project name in strings
Fixes #105
2014-12-17 10:24:24 -08:00
Joe Nelson 19b62c00ee Enclose entire app response in single Tx 2014-12-12 13:55:09 -08:00
Joe Nelson beb61d8a05 Pend a test until complication is resolved with #107 2014-12-06 18:46:34 -08:00
Joe Nelson 605372f829 Set permissions correctly for structure spec 2014-12-06 17:42:42 -08:00
Joe Nelson 7d58097449 Be sure to reset db before ALL tests 2014-12-06 17:42:42 -08:00
Joe Nelson a45718e992 Re-enable authentication 2014-12-06 17:42:22 -08:00
Joe Nelson f1ecbec543 Do not quote params in Location header
Also treat the enum field in OPTIONS as an array uniformly
2014-12-06 17:42:21 -08:00
Joe Nelson f6b7b42d75 Feature specs compile 2014-12-06 17:42:20 -08:00
Adam C. Baker 74855db87b declare required extensions
and remove default extension pragmas (OverloadedStrings)
2014-11-05 00:32:10 -08:00
Joe Nelson 37c0a2d831 All tests passing, none pending
Standardize the order of enum value lists
2014-10-14 15:03:07 -07:00
Adam C. Baker 57f4d478fc pending failing options test. 2014-10-10 17:01:20 -07:00
Adam C. Baker e5db9bc58e remove top level binding in test script 2014-10-09 14:14:53 -07:00
Adam C. Baker 5dd3f9c79a Merge branch 'fk'
Conflicts:
	src/PgStructure.hs
	test/Feature/StructureSpec.hs
	test/fixtures/schema.sql
2014-10-09 12:30:39 -07:00
Joe Nelson ecff987f31 Include "enum" field in column details 2014-10-08 16:51:42 -07:00
Adam C. Baker ee02a98cf2 emit references for columns with foreign keys 2014-10-08 16:38:12 -07:00
Joe Nelson 496e8421a9 Provide column default values in OPTIONS
Fixes #43
2014-10-07 11:56:54 -07:00
Joe Nelson 631f651f44 List table columns as array, not hash 2014-09-29 11:40:20 -07:00
Adam C. Baker cf5510c425 upgrade hspec-wai, get tests passing. 2014-09-24 19:08:05 -07:00
Joe Nelson 7802fa5b7e Respond with 200 or 206 in ranged responses 2014-09-07 09:38:30 -07:00
Joe Nelson e454fc4526 Include no_pk table for future tests 2014-08-27 19:53:18 -07:00
Joe Nelson d06674a1e8 Test insertion of various json types 2014-08-27 12:48:41 -07:00
Joe Nelson c007dbb2b2 WIP: Testing compound key insert reveals weird type conversion 2014-08-25 19:43:23 -07:00
Joe Nelson eef7860922 Test failed post, and clean up specs 2014-08-25 17:27:21 -07:00
Joe Nelson f34f8d8c35 Separate tests into groups
Also test content of insert redirect
2014-08-25 16:53:44 -07:00