aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/spec/sugar.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/spec/sugar.js b/spec/spec/sugar.js
index 9133032..3c18787 100644
--- a/spec/spec/sugar.js
+++ b/spec/spec/sugar.js
@@ -668,12 +668,4 @@ describe('Sugar', function() {
expect(rect.dom.number).toBe('3px')
})
})
-
- describe('point()', function() {
- it('creates a point from screen coordinates transformed in the elements space', function(){
- var rect = draw.rect(100,100)
- expect(rect.point(2,5).x).toBeCloseTo(-6)
- expect(rect.point(2,5).y).toBeCloseTo(-3)
- })
- })
})