assaf/zombie — Issue #227: Slight documentation miss
Author: hellonico
Created: 2011-12-14 09:00:49+00:00
State: open

On the project front page, the sample code shows:

browser.visit("http://localhost:3000/", function () {
assert.equal(browser.success, "Expected status code to be 2xx");
if (browser.error ) console.dir("Errors reported:", browser.errors);
})

I guess the second line should be:

assert.ok(browser.success, "Expected status code to be 2xx");