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

Simple test enhancement #257

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jrodenbostel
Copy link

I'm proposing this small change to help diagnose ignored save errors while testing CRUD module server routes, specifically testing the case that covers someone 'should not be able to delete an <%= humanizedSingularName %> if not signed in'. I'm working on a project where the request param and model property names don't match in all cases, and having this change in place helped me diagnose an issue that had taken an embarrassingly long time to fix.

@codydaig
Copy link
Member

@jrodenbostel

Sorry for the delay in response. I'm all for this. However, this stems from the project. So if you can make the PR over there (github.com/meanjs/mean) and get it merged, I'm happy to merge this.

@jrodenbostel
Copy link
Author

@codydaig No problem. Not sure I follow your suggestion, though. Are you saying that I should make this change to the article module's server/route tests (https://github.com/meanjs/mean/blob/master/modules/articles/tests/server/article.server.routes.tests.js)?

jrodenbostel pushed a commit to jrodenbostel/mean that referenced this pull request Nov 30, 2016
Simple test enhancement proposed by @jrodenbostel.  Eases troubleshooting when Article save fails during test execution.

Further reference here: meanjs/generator-meanjs#257

Fixes meanjs#1658
mleanos pushed a commit to meanjs/mean that referenced this pull request Jun 13, 2017
* feat(articles): Simple test enhancement

Simple test enhancement proposed by @jrodenbostel.  Eases troubleshooting when Article save fails during test execution.

Further reference here: meanjs/generator-meanjs#257

Fixes #1658

* updated per @simison's request
lupinthethirdgentleman pushed a commit to lupinthethirdgentleman/mean-dashboard that referenced this pull request Aug 5, 2021
* feat(articles): Simple test enhancement

Simple test enhancement proposed by @jrodenbostel.  Eases troubleshooting when Article save fails during test execution.

Further reference here: meanjs/generator-meanjs#257

Fixes #1658

* updated per @simison's request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants