-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
change deliver_now to deliver_later in answer_like_controller #5533
change deliver_now to deliver_later in answer_like_controller #5533
Conversation
@publiclab/plots2-reviewers kindly see my PR |
Generated by 🚫 Danger |
Hey @AnthoniaOkafor, this test https://github.com/publiclab/plots2/blob/master/test/functional/notes_controller_test.rb#L279-L296 is failing so wrap up the code in Thanks! |
Hello @gauravano, I have wrapped the code in test/functional/answer_like_controller_test.rb with |
Hello @gauravano, for the answer_like controller I am working on, you want me to wrap the code in https://github.com/publiclab/plots2/blob/master/test/functional/notes_controller_test.rb#L279-L296 with 'perform_enqueued_jobs do'. I thought it was a mistake so wrapped the code in test/functional/answer_like_controller_test.rb. If you say so, I can restore answer_like_controller_test.rb and change notes_controller_test.rb#L279-L296 instead. |
Hey @AnthoniaOkafor, first of all, let's remove changes from answer_like_controller_test as we are not checking any email sending there so no need of it there. After that, let's see if we encounter the error again as I am not getting the error when running the individual test file. Thanks! |
This reverts commit d7e1a11.
@publiclab/reviewers please see my PR |
Great, thank you!!! |
Fixes #5311 (<=== Add issue number here)
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!