     it "should be an instance of Numeric", ->
       expect(Properties.Angle.prototype).to.be.instanceof Properties.Numeric
 
-    it "should prefer to set units from a spec if possible", ->
-      prop = new Properties.Angle({obj: generate_obj({a: {value: 1, units: "deg"}, a_units: "rad"}), attr: 'a'})
-      expect(prop.units).to.be.equal "deg"
-
-    it "should otherwise set units from the object if possible", ->
-      prop = new Properties.Angle({obj: generate_obj({a: 1, a_units: "deg"}), attr: 'a'})
+    it "should set units from a spec", ->
+      prop = new Properties.Angle({obj: generate_obj({a: {value: 1, units: "deg"} }), attr: 'a'})
       expect(prop.units).to.be.equal "deg"
 
     it "should set units to 'rad' as a default", ->

    describe "transform", ->

      it "should convert degrees to radians and flip sign", ->
        prop = new Properties.Angle({obj: generate_obj({a: 1, a_units: "deg"}), attr: 'a'})
        expect(prop.transform [1, 2, 3]).to.be.deep.equal new Float64Array [-Math.PI/180.0, -2*Math.PI/180.0, -3*Math.PI/180.0]

      it "should pass radians with sign flipped", ->
        prop = new Properties.Angle({obj: generate_obj({a: 1, a_units: "rad"}), attr: 'a'})
        expect(prop.transform [1, 2, 3]).to.be.deep.equal new Float64Array [-1, -2, -3]



    it "should be an instance of Numeric", ->
      expect(Properties.Distance.prototype).to.be.instanceof Properties.Numeric

    it "should set units from a spec", ->
      prop = new Properties.Distance({obj: generate_obj({a: {value: 1, units: "screen"} }), attr: 'a'})
      expect(prop.units).to.be.equal "screen"

    it "should set units to 'data' as a default", ->
      prop = new Properties.Distance({obj: generate_obj({a: 1}), attr: 'a'})
