Add support cookie testing in controller tests - #88
Conversation
|
@kenjis it's working well for me. I did notice that the PR is failing tests due to I'm getting the same error in my tests when I try to use |
|
Thank you. Yes, I have to check the test. I will look into it. |
The error with this PR is using |
|
All tests pass on my Linux... |
|
I was able to reproduce the fail. It seems there is a bug in build process for travis-ci. |
|
No, it is a bug in Monkey Patching. |
Add support cookie testing in controller tests
This PR adds the functionality to test response cookies in controller testing.
See #86.
controller:
You can assert the cookie value.
test code:
You can also assert more cookie params.
test code: