tbergeron/ThinAir — pull request #18 by Raynos (2012-05-31 18:10:49+00:00)
Title: setup should have zero parameters

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.