visionmedia/mocha — Issue #259: this.callback is a dirty word
Author: JamesMaroney
Created: 2012-02-11 20:54:53+00:00
State: open

When writing specs (BDD interface), writing to this.callback is apparently a no-no because it is overwritten by mocha for it's internal needs.

```coffeescript
describe 'something', ->
beforeEach ->
@callback = name: 'good day, sir'
it 'should be polite', ->
@callback.name.should.equal 'good day, sir'
```

this.callback is no longer the object it once was in the beforeEach as one would have expected.