You want assert.equal when comparing strings. See http://chaijs.com/api/assert/