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

Create blueprint factory file, when create model in ember-cli. #17

Closed
OpakAlex opened this issue Aug 18, 2014 · 4 comments
Closed

Create blueprint factory file, when create model in ember-cli. #17

OpakAlex opened this issue Aug 18, 2014 · 4 comments

Comments

@OpakAlex
Copy link
Contributor

I think, it's very useful, when we generate model in ember-cli create a factory file for tests.
@danielspaniel what you think?

http://www.ember-cli.com/#generators-and-blueprints

@danielspaniel
Copy link
Collaborator

@OpakAlex, can you explain more. I don't quite follow what you mean by 'create a factory file for tests'

@OpakAlex
Copy link
Contributor Author

ember g model post

  • create app/models/post.js
  • create test/fixtures/posts.js

@danielspaniel
Copy link
Collaborator

@OpakAlex .. got it .. thanks for clarifying

@danielspaniel
Copy link
Collaborator

I am closing this issue, since it is not something we control, but more of a feature for ember-cli to add

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

No branches or pull requests

2 participants