Ok,  that make much more sense :)
On Nov 7, 2013 10:59 PM, "Simon Boudrias" <notifications@github.com> wrote:

> In test/adapter.js:
>
> > +  it('exposes a diff method', function () {
> > +    assert.equal(typeof adapter.diff, 'function');
> > +  });
> > +
> > +  describe('TerminalAdapter#prompt', function () {
> > +    before(function () {
> > +      this.spy = sinon.spy(inquirer, 'prompt');
> > +    });
> > +    it('pass its arguments to inquirer', function () {
> > +      var questions = [];
> > +      var cb = function () {};
> > +      adapter.prompt(questions, cb);
> > +      assert(this.spy.withArgs(questions, cb).calledOnce);
> > +    });
> > +
> > +    after(function () {
>
> I just mean the order
>
> describe('#prompt', function () {
>     beforeEach();
>     afterEach();
>     it();
>     it();
>     it();
>
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/yeoman/generator/pull/383/files#r7511838>
> .
>