Skip to content

Conversation

@mriska
Copy link
Contributor

@mriska mriska commented Apr 26, 2018

This PR closes #146 by fixing the route generator to use locals from the ancestral blueprint.

It also enables two previously skipped tests by removing the parts of the tests that would fail due to app/router.coffee not existing.

mriska added 2 commits April 26, 2018 14:19
…g part

This part of the test fails due to app/route.coffee not existing
.then(() => expect(file('app/router.coffee'))
.to.not.contain("@route 'foo'"));
// .then(() => expect(file('app/router.coffee'))
// .to.not.contain("@route 'foo'"));
Copy link
Contributor

@olleolleolle olleolleolle Apr 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these comments remain? (in both files)

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 think they should be kept as a reminder that the router part should also be tested, I just don't know how to do it in a simple way. Similar to the old test that was skipped.

@olleolleolle
Copy link
Contributor

The Can\'t find variable: WeakMap is fixable by updating away from PhantomJs.

@mriska
Copy link
Contributor Author

mriska commented Apr 27, 2018

@olleolleolle The errors reported for ember-beta and ember-canary are the same as in current master, so I think they should be dealt with separately to this PR.

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

Successfully merging this pull request may close these issues.

Blueprints do not work with new ember-cli

2 participants