Andrew White
31f09f9dbc
Improve testing of cookies in functional tests:
...
- cookies can be set using string or symbol keys
- cookies are preserved across calls to get, post, etc.
- cookie names and values are escaped
- cookies can be cleared using @request.cookies.clear
[#6272 state:resolved]
2011-03-06 12:49:44 +00:00
David Trasbo
990f52ebd7
Make cookies hash in ActionDispatch::TestProcess indifferent access [ #5761 state:committed]
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-11-07 14:48:51 -02:00
Santiago Pastorino
961aa70e4a
Some require indifferent_access added
...
Signed-off-by: Xavier Noria <fxn@ubuntu.(none)>
2010-04-21 07:45:29 -07:00
David Chelimsky
4327ad51ab
access assigns as a method or hash, with strings or symbols [ #4431 state:resolved]
2010-04-17 15:59:10 -04:00
José Valim
47a236e291
AD::TestProcess relies on request.flash, so let's load it.
2010-02-16 22:54:56 +01:00
Joshua Peek
ee395fe626
TestProcess belongs in AD
2009-12-12 18:09:44 -06:00