Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Utilize new destroy-app.js when present. #82

Merged
merged 1 commit into from
Nov 9, 2015

Conversation

blimmer
Copy link
Contributor

@blimmer blimmer commented Sep 20, 2015

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.

description: 'Generates an acceptance test for a feature.',

locals: function() {
var destroyAppExists = existsSync(this.project.root + '/tests/helpers/destroy-app.js');
Copy link
Member

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...

Copy link
Contributor Author

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!

@blimmer blimmer force-pushed the utilize-destroy-app branch from 9912331 to d07445b Compare September 21, 2015 23:54
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.
@blimmer blimmer force-pushed the utilize-destroy-app branch from d07445b to 6f89fa1 Compare November 8, 2015 20:36
@blimmer
Copy link
Contributor Author

blimmer commented Nov 8, 2015

Rebased this - should be good to go to master.

rwjblue added a commit that referenced this pull request Nov 9, 2015
Utilize new destroy-app.js when present.
@rwjblue rwjblue merged commit 929d2ca into ember-cli:master Nov 9, 2015
@rwjblue
Copy link
Member

rwjblue commented Nov 9, 2015

thanks @blimmer!

@rwjblue
Copy link
Member

rwjblue commented Nov 9, 2015

I updated package.json and tagged, but then realized I can't npm publish.

@dgeb - Can you add me to npm owners for ember-cli-mocha (npm owner add rwjblue from your local ember-cli-mocha working directory should do the trick)?

@dgeb
Copy link
Member

dgeb commented Nov 9, 2015

@rwjblue sure thing - just added you

@rwjblue
Copy link
Member

rwjblue commented Nov 9, 2015

Thank you, sir!

Published as v0.9.5.

@dgeb
Copy link
Member

dgeb commented Nov 9, 2015

Nice - glad not to be a blocker any more!

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

Successfully merging this pull request may close these issues.

4 participants