Skip to content
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

Merged
merged 3 commits into from
May 15, 2019

Conversation

AnthoniaOkafor
Copy link
Contributor

@AnthoniaOkafor AnthoniaOkafor commented Apr 19, 2019

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!

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If 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!

@AnthoniaOkafor
Copy link
Contributor Author

@publiclab/plots2-reviewers kindly see my PR

@plotsbot
Copy link
Collaborator

plotsbot commented Apr 19, 2019

1 Message
📖 @AnthoniaOkafor Thank you for your pull request! I’m here to help with some tips and recommendations. Please take a look at the list provided and help us review and accept your contribution! And don’t be discouraged if you see errors – we’re here to help.

Generated by 🚫 Danger

@grvsachdeva
Copy link
Member

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 perform_enqueued_jobs like mentioned here - #5311 (comment)

Thanks!

@AnthoniaOkafor
Copy link
Contributor Author

Hello @gauravano, I have wrapped the code in test/functional/answer_like_controller_test.rb with
'perform_enqueued_jobs do', but the Travis Cl build for my PR is still failing.

@AnthoniaOkafor
Copy link
Contributor Author

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 perform_enqueued_jobs like mentioned here - #5311 (comment)

Thanks!

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.

@grvsachdeva
Copy link
Member

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!

@AnthoniaOkafor
Copy link
Contributor Author

@publiclab/reviewers please see my PR

@jywarren jywarren merged commit 4e5ece9 into publiclab:master May 15, 2019
@jywarren
Copy link
Member

Great, thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(not working yet) Change deliver_now to deliver_later for all emails
4 participants