-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Add Migration Guide #322
Add Migration Guide #322
Conversation
This adds a Migration Guide outlining the steps necessary to migrate to the latest testing APIs. Based on emberjs/ember-mocha#200 for ember-mocha.
Thank you! |
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.
Thanks!
await visit('/'); | ||
expect(currentURL()).to.equal('/'); | ||
assert.equal(currentURL(), '/'); |
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.
🤦♂️
|
||
// Replace this with your real tests. | ||
test('exists', function() { | ||
let controller = this.owner.lookup('controller:sidebar'); |
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.
@simonihmig I just noticed that this is using a different controller name than the above snippet
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.
Oh, indeed. 🙄 Will create a PR...
This adds a Migration Guide outlining the steps necessary to migrate to the latest testing APIs. Based on emberjs/ember-mocha#200 for ember-mocha.
Also fixes a mocha leftover in the Readme (hi @Turbo87 😉)