Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Include model.spec.js for endpoints #1095

Description

@drochag

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

Activity

  1. kingcody commented on Jul 23, 2015

    @kingcody
    Member

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

  2. drochag commented on Aug 6, 2015

    @drochag
    ContributorAuthor

    I will soon @kingcody :)

  3. Awk34 commented on Dec 2, 2015

    @Awk34
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions