L
listrecv
Some actions in Rails require sessions spanning multiple pages. Things
like "login & check account" or "fill a shopping cart and check out".
I'm having trouble creating functional testing for these for two
reasons:
1) The post() etc. methods seem to reset the session each time.
2) How do you create a functional test that accesses multiple
controllers?
Specifically, could someone post a functional test to a controller that
requires the user be logged in first?
Thanks.
like "login & check account" or "fill a shopping cart and check out".
I'm having trouble creating functional testing for these for two
reasons:
1) The post() etc. methods seem to reset the session each time.
2) How do you create a functional test that accesses multiple
controllers?
Specifically, could someone post a functional test to a controller that
requires the user be logged in first?
Thanks.