Commit Graph

29 Commits

Author SHA1 Message Date
Mark Wotton
df6834a335 add followRedirect 2016-03-21 12:13:23 -04:00
Maximilian Tagher
479a19e65a yesod-test: have request not default to the form-urlencoded Content-Type
* Only set the Content-Type to "application/x-www-form-urlencoded" if key-value pairs are added
* Previously the "application/x-www-form-urlencoded" Content-Type would be added even if you set a binary request body.
	* You could add your own Content-Type with addRequestHeader, but this resulted in multiple Content-Type headers.
* Closes #1063
2015-08-24 20:27:28 -07:00
Maximilian Tagher
374195b4fa Add functions to yesod-test to support the new CSRF middleware 2015-08-19 22:18:30 -07:00
Maximilian Tagher
94af9c6bdd Move yesod-test to using the term "token" instead of nonce.
Addresses part #1 of #914
2015-01-27 19:50:06 -08:00
Michael Snoyman
9ff2c243f2 Two more failing yesod-test cases.
Pinging @erikd.
2014-10-01 14:11:27 +03:00
Michael Snoyman
c8e2aaf2a8 Fix test 2014-09-30 13:37:10 +03:00
Michael Snoyman
4b85a66d93 Simpler demonstration of descendent selector bug 2014-09-30 13:34:32 +03:00
Michael Snoyman
9a9cab4365 Demonstrate bug in CSS parsing
Pinging @erikd. I think this problem was introduced in the new parser.
2014-09-30 13:31:44 +03:00
Michael Snoyman
e6eae8ee5a Merge remote-tracking branch 'origin/master' into yesod-1.4
Conflicts:
	yesod-routes/Yesod/Routes/Parse.hs
	yesod-routes/test/Hierarchy.hs
	yesod-routes/yesod-routes.cabal
2014-07-26 21:20:31 +03:00
Michael Snoyman
ef25c90e9b Handle labels containing inputs #759 2014-06-17 08:22:38 +03:00
Michael Snoyman
33c384bb4e yesod-test: use HTTP/1.1 2014-06-08 08:14:38 +03:00
Erik de Castro Lopo
90d639d413 yesod-test : Add simple tests for htmlCount/html*Contain. 2014-05-29 08:55:14 +10:00
Michael Snoyman
60526676e5 Encode empty paths correctly #730 2014-05-06 08:25:44 +03:00
Michael Snoyman
8c183d9cda Another fix for UTF8 paths 2014-04-27 11:21:43 +03:00
Michael Snoyman
bf3e8afefb Fix some character encoding bugs 2014-04-23 16:05:00 +03:00
Michael Snoyman
7a90a794d8 Expanded yesod-test testsuite 2013-04-03 11:50:00 +03:00
Michael Snoyman
51eb7d4ba2 RequestBuilder overhaul 2013-04-02 19:41:52 +03:00
Michael Snoyman
db53252960 yesod-test can use type-safe URLs 2013-04-02 17:29:09 +03:00
Michael Snoyman
ba8706429a Make yesod-test integrate better with hspec 2013-04-02 16:32:40 +03: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
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
debbdc4aed Removed HtmlParse 2012-07-09 13:40:24 +03:00
Michael Snoyman
a0c26206e3 yesod-test uses hspec 1.2 as well 2012-06-30 22:17:49 +03:00
Michael Snoyman
ebc737a5cb conduit 0.5 2012-06-22 15:28:14 +03:00
Michael Snoyman
75b6173f7d Fixed all warnings, should finally build on Jenkins 2012-03-29 10:14:44 +02:00
Michael Snoyman
940c1dddcd Parse HTML to an XML document via xml-conduit 2012-03-28 08:43:36 +02:00
Michael Snoyman
5e068b32b7 Added some simple selector test cases 2012-03-28 08:18:19 +02:00
Michael Snoyman
0201415b05 Migrated yesod-test to attoparsec 2012-03-28 08:14:51 +02:00
Michael Snoyman
a3e27a3d57 Started yesod-test test suite (yo dawg...) 2012-03-28 08:03:47 +02:00