             expect(model.sync).toHaveBeenCalledWith('patch', model, jasmine.any(Object))
             expect(model.foo).toEqual('a new foo value')
             done()
-            
+
     it "can be fetched", (done)->
         model = Lanes.Test.makeModel({
             props:

            derived:
                atest:
                    fn: -> 'blarg'
                
        })
        model.set( id: 10, unsaved: 'falsify', color: { rgb: '99FFFF' } )


describe "Lanes.Models.Base", ->
    class Color
        constructor: -> super
        props: { id: 'integer', rgb: 'string' }
    Lanes.Models.Base.extend(Color)

    it "tracks unsaved attributes", ->
        model = Lanes.Test.makeModel({
            session:
