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

Add Migration Guide #322

Merged
merged 1 commit into from
Mar 13, 2018
Merged

Add Migration Guide #322

merged 1 commit into from
Mar 13, 2018

Conversation

simonihmig
Copy link
Contributor

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 😉)

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.
@rwjblue rwjblue merged commit 6258afe into emberjs:master Mar 13, 2018
@rwjblue
Copy link
Member

rwjblue commented Mar 13, 2018

Thank you!

@simonihmig simonihmig deleted the migration-guide branch March 13, 2018 20:45
Copy link
Member

@Turbo87 Turbo87 left a 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(), '/');
Copy link
Member

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');
Copy link
Member

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

Copy link
Contributor Author

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

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

Successfully merging this pull request may close these issues.

3 participants