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

support for assert.notOk ? #180

Closed
ballPointPenguin opened this issue Jul 27, 2015 · 4 comments
Closed

support for assert.notOk ? #180

ballPointPenguin opened this issue Jul 27, 2015 · 4 comments

Comments

@ballPointPenguin
Copy link

Most QUnit assertions are supported in ember-qunit (http://api.qunitjs.com/category/assert/),
but

assert.notOk(falseyThing)

raises

TypeError: assert.notOk is not a function
@rwjblue
Copy link
Member

rwjblue commented Jul 27, 2015

Please, ensure that you are using the latest version of QUnit. This library does not muck with the QUnit assert object, it is basically just passed through.

@ballPointPenguin
Copy link
Author

thanks. I'll dig into it and see.

@adam-knights
Copy link

Also hit this today - notOk is in QUnit 1.18.0, I'll give it a try and post any issues if I find any.

@rwjblue
Copy link
Member

rwjblue commented Jul 29, 2015

Just double checked, assert.notOK is working properly.

Demo: http://rwjblue.jsbin.com/boyuvo/edit?html,js,output

@rwjblue rwjblue closed this as completed Jul 29, 2015
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

No branches or pull requests

3 participants