tbergeron/ThinAir — pull request #17 by Raynos (2012-05-31 18:09:20+00:00)
Title: Use setup correctly

The reason the code was broken is because setup should be used like the following

```
{
setup: function () {
// sync setup logic
}
}
```

or

```
{
setup: function (done) {
// async setup logic
// call done when finished
}
}
```

If your `setup` method has parameters the first must be the done function and it must be called. Failure to call the `done` function means the init methods never get called.

This is a debugging pain point, I guess I can throw an error saying `setup not finished after 10s` based on some timeout.

So `setup: function (req, res) {}` is what broke.