                 
                 
     it "parse by `delimiter` from server", (done)->
-        @linear_model.set "id", "simple"
         @linear_model.flat_options = delimiter : "-"
         
         @linear_model.fetch

                
    it "simple send to server", (done)->
        @linear_model.set
            "id"                : "simple"
            "Cats.Boris.age"    : 3
            "Cats.Boris.weight" : 4
            "Cats.Milla.age"    : 1

            fake : true
            wait : 30
            
            success : (model)->
                chai.expect model.attributes["Cats.Boris.toys"]
                .have.members ["ball", "mouse"]
                    
                done()
                
                
    it "send to server without `object`", (done)->
        @linear_model.set
            "Cats.Boris.toys.0" : "ball"
            "Cats.Boris.toys.1" : "mouse"
        @linear_model.save null,
            fake : true
            wait : 30
            
            success : (model, mirrored)->
                chai.expect mirrored.Cats.Boris.toys
                .have.members ["ball", "mouse"]
                
                done()
                
                
    it "send to server with `object`", (done)->
        @linear_model.set
            "Cats.Boris.toys.0" : "ball"
            "Cats.Boris.toys.1" : "mouse"
        @linear_model.flat_options = object : true
        @linear_model.save null,
            fake : true
            wait : 30
            
            success : (model, mirrored)->
                object = mirrored.Cats.Boris.toys
                
                chai.expect(object).a "object"
                chai.expect(object).not.a "array"
                chai.expect(object["0"]).equal "ball"
                chai.expect(object["1"]).equal "mouse"
                
                done()
                
                
    it "`force_array` server repsonse", (done)->
        @linear_model.set "id", "force_array"
        @linear_model.flat_options =
            force_array : [
                "Cats.Boris.age",
                "Cats.Boris.eyes",
                "Cats.Boris.toys",
                "Cats.Milla.toys"
            ]
        @linear_model.fetch
            fake : true
            wait : 30
            
            success : (model)->
                attrs = model.attributes
                
                chai.expect(attrs["Cats.Boris.age"]).a "array"
                chai.expect(attrs["Cats.Boris.eyes"]).a "array"
                chai.expect(attrs["Cats.Boris.toys"]).a "array"
                chai.expect(attrs["Cats.Milla.toys"]).a "array"
                
                chai.expect(attrs["Cats.Boris.age"]).have.members [3]
                chai.expect(attrs["Cats.Boris.eyes"]).have.members ["left_eye", "right_eye"]
                chai.expect(attrs["Cats.Boris.toys"][0]).have.property "toys", "ball"
                chai.expect(attrs["Cats.Milla.toys"]).be.empty
                    
                done()