-
-
Notifications
You must be signed in to change notification settings - Fork 54
Utilize new destroy-app.js when present. #82
Conversation
description: 'Generates an acceptance test for a feature.', | ||
|
||
locals: function() { | ||
var destroyAppExists = existsSync(this.project.root + '/tests/helpers/destroy-app.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably use path.join
here. Node might do the right thing on Windows, but I'm never certain...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I always forget this. Fixed!
9912331
to
d07445b
Compare
1.13.9 of ember-cli will have a destroy-app.js similar to start-app.js. See [this PR](https://github.com/ember-cli/ember-cli/pull/4772/files). This patch uses that file if it's present.
d07445b
to
6f89fa1
Compare
Rebased this - should be good to go to master. |
Utilize new destroy-app.js when present.
thanks @blimmer! |
I updated @dgeb - Can you add me to |
@rwjblue sure thing - just added you |
Thank you, sir! Published as v0.9.5. |
Nice - glad not to be a blocker any more! |
1.13.9 of ember-cli will have a destroy-app.js similar to start-app.js. See this PR.
This patch uses that file if it's present.