Michael Snoyman
cdc6c8ae04
Version bumps/changelog updates
2017-02-08 11:20:31 +02:00
Michael Snoyman
aefd074efa
Cleanup GHC 8 redundant constraints
2017-02-05 13:35:12 +02:00
Michael Snoyman
3dc2d10b30
Compile with -Wall -Werror
2017-02-05 12:09:18 +02:00
Michael Snoyman
03c1ee4807
Compilation fix for GHC 7.8
2016-12-07 08:54:53 -05:00
Michael Snoyman
9c38a4b08e
Version bump for #1314
2016-12-01 06:53:41 +02:00
Jason Whittle
7b12f61a91
yesod-test: add getLocation test helper.
2016-11-30 18:05:48 -05:00
Amitaibu
827040f279
Fix error
2016-09-01 15:22:25 +03:00
Amitaibu
6ddfd07032
Add since tag
2016-09-01 14:20:29 +03:00
Amitaibu
ac0229dff0
Bump cabal version and export function
2016-09-01 14:19:38 +03:00
Amitaibu
21e0ef11ba
Add bodyNotContains function
2016-09-01 14:09:10 +03:00
Michael Snoyman
dae1a34d4c
Version bump for #1259
2016-08-10 08:48:57 +03:00
Chris Allen
13d9f58db7
Added assertEq, deprecated assertEqual
...
use assertEq instead
2016-08-10 00:08:24 -05:00
Maxime Bourget
6addf3923d
Changes spec name and bump version to 1.5.1.1
2016-04-12 21:42:33 +01:00
Maxime Bourget
3fecebd5ba
Allows more that one space between css selector.
...
This is needed to support addToken_ workaround before the fix.
Before the fix, an extra space was needed in the selector like this
example:
addToken "form.foo "
With the fix adding the missing space, code already adding a space
will end up with two spaces between the scope selector and the input one :
form.foo input[name=token_]
2016-04-11 21:58:50 +01:00
Maxime Bourget
62fc67a444
Fix addToken_ needing a trailing space to work.
...
The fix can add spaces in place where none or only one where expected.
The css parser has been modified to remove trailing or multiple spaces.
This might be a bit more lax that official CSS spec.
2016-04-11 21:15:27 +01:00
Mark Wotton
94109d9406
duplicated typesig
2016-03-21 17:46:28 -04:00
Mark Wotton
23278d651e
documentation fixes & formatting #3
2016-03-21 17:41:25 -04:00
Mark Wotton
b21e64637f
documentation fixes #2
2016-03-21 17:21:14 -04:00
Mark Wotton
f2341355c1
documentation fixes
2016-03-21 17:20:02 -04:00
Mark Wotton
ef00ddd80b
test result value, return URL in Right branch, document meaning in haddocks
2016-03-21 17:16:28 -04:00
Mark Wotton
92f24a73dc
better error messages for followRedirect
2016-03-21 13:44:26 -04:00
Mark Wotton
f381c69449
expand range of acceptable redirection codes
2016-03-21 13:43:36 -04:00
Mark Wotton
29c335af56
use Either rather than throwing an exception
2016-03-21 13:39:49 -04:00
Mark Wotton
62961ef931
fix exception test
2016-03-21 12:34:38 -04:00
Mark Wotton
df6834a335
add followRedirect
2016-03-21 12:13:23 -04:00
Michael Snoyman
89e39464a1
Changelog for #1191
2016-03-21 12:57:52 +02:00
Chris Allen
289471d122
appropriate version bump
2016-03-20 12:50:17 -05:00
Chris Allen
776007ffa3
better wording
2016-03-17 14:35:15 -05:00
Chris Allen
7e10d87492
better error formatting, bumping version
2016-03-17 14:33:15 -05:00
Chris Allen
57b7ad8eda
better error provenance for stuff invoking withResponse'
2016-03-17 14:18:38 -05:00
Greg Weber
ac6e8f6195
version bump for 1.5.0.1
2015-08-25 23:17:56 -07: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
Greg Weber
a28f4f3fa4
Changelog for yesod-test 1.5
2015-08-20 17:44:31 -07:00
Greg Weber
95e6084634
Merge branch 'test-middleware'
...
Conflicts:
yesod-test/yesod-test.cabal
2015-08-20 17:38:30 -07:00
Greg Weber
80ea70c39e
Merge remote-tracking branch 'MaxGabriel/removeDeprecatedNonces'
...
Conflicts:
yesod-test/Yesod/Test.hs
2015-08-20 17:36:08 -07:00
Greg Weber
8b00b373b8
release yesod-test 1.4.4
2015-08-20 17:29:32 -07:00
Maximilian Tagher
374195b4fa
Add functions to yesod-test to support the new CSRF middleware
2015-08-19 22:18:30 -07:00
Greg Weber
a938f977b5
version bump for middleware accessebility in yesod-test
2015-08-05 17:48:32 -07:00
Greg Weber
b92ae3093a
configurable middleware
2015-08-05 17:48:27 -07:00
Michael Snoyman
6751d24d75
Version bumps
2015-02-09 07:25:08 +02:00
Maximilian Tagher
b9246d26a1
Update the example in the yesod-test README
...
* Fixes a few typos/formatting issues as well
* Closes #920
2015-02-07 23:13:05 -08:00
Michael Snoyman
5a4c7e7fa0
Version bump
2015-02-04 17:46:07 +02:00
Maximilian Tagher
3de93e3197
Remove deprecated addNonce and addNonce_
2015-01-28 08:42:50 -08:00
Maximilian Tagher
e26f6f5fbe
Update API documentation to take the nonce/token switchover into account.
2015-01-27 20:01:06 -08: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
Maximilian Tagher
cb4785cf28
Document much of yesod-test, especially the "Making Requests" section
2015-01-25 15:20:25 -08:00
Michael Snoyman
e96d1c3622
Version bumps
2014-12-30 05:58:39 +02:00
Greg Weber
5e84dbb8ab
change get_ to get
2014-12-29 16:17:37 -08:00
Michael Snoyman
bed6dafce8
Doc link updates
2014-12-21 15:23:52 +02:00
Michael Snoyman
7fcddb6ee3
Provide Example instance for YesodExample
2014-11-20 02:14:06 +02:00