Fixed.


On Wed, Dec 18, 2013 at 12:30 AM, Stefan Penner <notifications@github.com>wrote:

> In
> packages/ember-data/tests/integration/serializers/rest_serializer_test.js:
>
> > +
> > +test('normalizeHash works with transforms', function(){
> > +  env.container.register('serializer:application', DS.RESTSerializer.extend({
> > +    normalizeHash: {
> > +      evilMinions: function(hash) {
> > +        hash.isHealing = hash._isHealing;
> > +        delete hash._isHealing;
> > +        return hash;
> > +      }
> > +    }
> > +  }));
> > +
> > +  EvilMinion.reopen({ isHealing: DS.attr('boolean') });
> > +
> > +  var jsonHash = {
> > +    evilMinions: [{id: "1", name: "Tom Dale", superVillain: 1, isHealing: 1}]
>
> thanks @igorT <https://github.com/igorT>
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/emberjs/data/pull/1583/files#r8425099>
> .
>