Commit Graph

87 Commits

Author SHA1 Message Date
Michael Snoyman
d5bf0f583d Version bumps 2013-08-13 18:59:21 +03:00
Konstantine Rybnikov
928be6991e Refactor a bit to make pattern matching happy and makeMultipart only work on multipart data. 2013-08-11 09:53:41 +03:00
Konstantine Rybnikov
59eb67e087 Add error-reporting when trying to add file or post-param after binary content is set. 2013-08-09 23:13:56 +03:00
Konstantine Rybnikov
441842ae12 Revert "Use GADTs for static guarantee you use right type of post data."
This reverts commit 3655af11d3.
2013-08-09 22:48:09 +03:00
Konstantine Rybnikov
3655af11d3 Use GADTs for static guarantee you use right type of post data. 2013-07-30 11:11:34 +03:00
Konstantine Rybnikov
eb7ad4e480 Remove unused comment 2013-07-29 17:03:37 +03:00
Konstantine Rybnikov
a46a6fa399 Small spacing fix 2013-07-29 17:01:20 +03:00
Konstantine Rybnikov
fdb564abfe Get post function back without overwriting content 2013-07-29 17:00:32 +03:00
Konstantine Rybnikov
8664c010da Second attempt to write a good postBody and setRequestBody. 2013-07-29 16:57:13 +03:00
Konstantine Rybnikov
ee168c7829 Add postBody and setRequestBody functions to POST some data in a test. 2013-07-29 11:26:32 +03:00
Konstantine Rybnikov
a67732329d Add yesodSpecWithSiteGenerator method.
This method "extracts" site from `IO site` action every time, instead
of getting it only once. Helpful for flushing database (to recreate
connections) etc.
2013-07-25 17:48:29 +03:00
Michael Snoyman
cb8aa986f0 Fix yesod-test 2013-04-03 21:40:13 +03:00
Michael Snoyman
7a90a794d8 Expanded yesod-test testsuite 2013-04-03 11:50:00 +03:00
Michael Snoyman
a1090d97d6 Expose YesodExample 2013-04-03 11:14:53 +03:00
Michael Snoyman
04d51bdb4c Fix bug for complete URLs 2013-04-02 19:45:23 +03:00
Michael Snoyman
51eb7d4ba2 RequestBuilder overhaul 2013-04-02 19:41:52 +03:00
Michael Snoyman
9f97de6519 Export list cleanup 2013-04-02 17:39:32 +03:00
Michael Snoyman
db53252960 yesod-test can use type-safe URLs 2013-04-02 17:29:09 +03:00
Michael Snoyman
ad817275e8 Further yesod-test cleanup 2013-04-02 17:05:40 +03:00
Michael Snoyman
ba8706429a Make yesod-test integrate better with hspec 2013-04-02 16:32:40 +03:00
Michael Snoyman
db57468832 Version bumps 2013-03-11 12:07:10 +02:00
Michael Snoyman
5b444c59eb Version bumps 2013-03-04 10:37:37 +02:00
Shane Kilkelly
d06e4530f9 and export the new function from the module 2013-03-03 17:25:26 +00:00
Shane Kilkelly
bbb1a66bac add a htmlAnyContain function 2013-03-03 17:16:10 +00:00
Michael Snoyman
aafecf5787 Parse query string parameters from URLs 2013-02-28 07:28:34 +02:00
Michael Snoyman
551b9d7c1e Version bumps 2013-02-18 07:02:08 +02:00
Michael Snoyman
a1734e0e18 conduit 1.0 support 2013-02-13 11:45:50 +02:00
paul-rouse
c4310fb03b Provide mechanism to add extra headers to a request in Yesod.Test 2013-01-29 19:43:07 +00:00
Michael Snoyman
d167842839 Version bumps, http-types 0.8 2013-01-29 10:33:14 +02:00
Michael Snoyman
6d3b7bb2eb Version bump 2012-12-27 09:30:42 +02:00
Michael Snoyman
c9b6be07ef Merge pull request #424 from wuzzeb/master
Add support for multiple cookies in yesod-test
2012-12-26 09:06:22 -08:00
Michael Snoyman
4d6aab02d4 Merge remote-tracking branch 'origin/master' into persistent11 2012-12-02 10:50:48 +02:00
Simon Hengel
ba27046aff yesod-test: Remove redundant import 2012-11-29 11:00:19 +01:00
Simon Hengel
252871fea9 Fix deprecation warnings 2012-11-27 21:25:39 +01:00
Michael Snoyman
fb02d71d73 Persistent 1.1 2012-11-27 16:57:46 +02:00
Michael Snoyman
b15faa3cf8 hspec 1.4 2012-11-08 21:00:34 +02:00
Michael Snoyman
1c7e4c6f1a Version bumps 2012-11-07 12:07:32 +02:00
Simon Hengel
ffcf7fbc5d yesod-test: Do not use Test.Hspec.Runner
Test.Hspec.Runner will export functions for monadic specs in the future
(Hspec >= 1.4).
2012-10-16 14:45:02 +02:00
Michael Snoyman
fef3024d30 network 2.4 2012-09-19 09:02:58 +03:00
John Lenz
f8f1377d53 yesod-test: add support for multiple cookies 2012-09-17 00:52:45 -05:00
Greg Weber
840fa09e5b complete backend independent yesod-test 2012-08-06 11:01:38 -07:00
Greg Weber
cbfaffe5a1 update yesod-test README 2012-08-05 13:48:50 -07:00
Greg Weber
fa291bf9fe make yesod-test work with mongo
depends on resource-pool branch of persistent
2012-08-05 13:35:27 -07:00
Michael Snoyman
df5018a94c hspec 1.3 2012-08-03 15:40:36 +03:00
Michael Snoyman
bc8e4b0588 Minor yesod-test fixes 2012-08-03 11:31:35 +03:00
Michael Snoyman
f80a810df9 yesod-test uses hspec 1.3 2012-08-03 08:41:45 +03:00
Michael Snoyman
699d76d13a Merge branch 'beta'
Conflicts:
	yesod-core/yesod-core.cabal
	yesod-json/yesod-json.cabal
	yesod-test/Yesod/Test.hs
	yesod-test/test/main.hs
	yesod-test/yesod-test.cabal
2012-07-11 08:48:09 +03:00
Michael Snoyman
0dbd724155 Remove hxt dep from yesod-test (#382) 2012-07-09 14:15:10 +03:00
Michael Snoyman
debbdc4aed Removed HtmlParse 2012-07-09 13:40:24 +03:00
Michael Snoyman
f3a3408260 http-types 0.7 2012-07-06 16:24:24 +03:00