Skip to content

Include model.spec.js for endpoints #1095

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

Open
drochag opened this issue Jul 22, 2015 · 3 comments
Open

Include model.spec.js for endpoints #1095

drochag opened this issue Jul 22, 2015 · 3 comments

Comments

@drochag
Copy link
Contributor

drochag commented Jul 22, 2015

The user model on the initial app includes user.model.spec.js. It would be nice that the generator automatically includes that because it's not on the list of created files

$ yo angular-fullstack:endpoint client
? What will the url of your endpoint be? /api/clients
   create server/api/client/index.js
   create server/api/client/index.spec.js
   create server/api/client/client.controller.js
   create server/api/client/client.events.js
   create server/api/client/client.integration.js
   create server/api/client/client.model.js
   create server/api/client/client.socket.js
@kingcody
Copy link
Member

I agree, that would be nice. Care to submit a PR?

@drochag
Copy link
Contributor Author

drochag commented Aug 6, 2015

I will soon @kingcody :)

@Awk34
Copy link
Member

Awk34 commented Dec 2, 2015

Hope to get this in a 3.x.x minor release

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

No branches or pull requests

3 participants