Parameter "actual" renamed to "state" in ok() QUnit function. "state" is "Expression being tested", not actual. http://api.qunitjs.com/ok/