I m trying to do functional test but I don t know how to deal with cookies. I m using Ruby and Minitest to do functional test of controllers. But to run tests in controllers, first I need to authenticate. The authentication uses cookies to see if the user is logged or not. The problem is functional tests do not see what is in cookies, than I can t authenticate and then run tests. Does someone give me a tip to resolve this?
thanks Heber