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

Update to QUnit 2.0 compatible output. #3197

Merged
merged 2 commits into from
Feb 4, 2015

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Feb 3, 2015

See http://qunitjs.com/upgrade-guide-2.x/ for more details.

Closes #3196.

@@ -9,7 +9,7 @@ moduleFor('adapter:<%= dasherizedModuleName %>', '<%= classifiedModuleName %>Ada
});

// Replace this with your real tests.
test('it exists', function() {
test('it exists', function(assert) {
Copy link
Member

Choose a reason for hiding this comment

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

Does this and the other places need to be QUnit.test ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Test is imported from ember-qunit here, so no.

@jakecraige
Copy link
Member

You missed a lot of test => QUnit.test and a few module => QUnit.module

@chadhietala
Copy link
Member

Restarting travis but looks good to me.

rwjblue added a commit that referenced this pull request Feb 4, 2015
Update to QUnit 2.0 compatible output.
@rwjblue rwjblue merged commit 85ff84e into ember-cli:master Feb 4, 2015
@rwjblue rwjblue deleted the update-to-qunit-2-0-compat branch February 4, 2015 13:12
clekstro added a commit to fauxton/travis-web that referenced this pull request Jan 31, 2016
As noted in [this
issue](ember-cli/ember-cli#3197),
assert is now to be prepended to assertions and passed in to
the test function.

This commit was generated by ember-watson.
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.

Update test blueprint module setup/teardown to keep up to date with qunit
4 participants