I could rewrite the test, no problem. Then maybe you guys could merge it
again.

What do you think?

On Wednesday, February 19, 2014, Miroslav Bajtoš <notifications@github.com>
wrote:

> In test/app.test.js:
>
> > @@ -29,6 +29,14 @@ describe('app', function() {
> >        expect(app.remotes().exports).to.eql({ color: Color });
> >      });
> >
> > +    it('clears handler cache', function() {
> > +      var originalRestHandler = app.handler('rest');
> > +      var Color = db.createModel('color', {name: String});
> > +      app.model(Color);
> > +      var newRestHandler = app.handler('rest');
> > +      expect(originalRestHandler).to.not.equal(newRestHandler);
> > +    });
>
> Hmm, I have not realised the patch had already landed. Never mind, this is
> not critical, the test can stay as it is.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/strongloop/loopback/pull/193/files#r9861989>
> .
>


-- 
-- 
Guilherme Machado Cirne
gcirne@gmail.com