summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-10-12 17:11:04 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-10-12 17:11:04 +0200
commit26ac29a1431103b037003b97e4ce52cd3bc5a401 (patch)
tree906ccc40f13f74565614218c9ee4a6bffd43ac0d
parentefa504adee982a9fcdd914a5bacd1aa2f28859fc (diff)
downloadsvg.js-26ac29a1431103b037003b97e4ce52cd3bc5a401.tar.gz
svg.js-26ac29a1431103b037003b97e4ce52cd3bc5a401.zip
remove redundant test
-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)
- })
- })
})