-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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: