summaryrefslogtreecommitdiffstats
path: root/spec/spec/text.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec/text.js')
-rw-r--r--spec/spec/text.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec/text.js b/spec/spec/text.js
index f1b0101..0bef0d1 100644
--- a/spec/spec/text.js
+++ b/spec/spec/text.js
@@ -122,8 +122,8 @@ describe('Text', function() {
it('sets the cx and cy position', function() {
text.center(321, 567)
var box = text.bbox()
- expect(text.bbox().cx).toBeCloseTo(321)
- expect(text.bbox().cy).toBeCloseTo(567)
+ expect(text.bbox().cx).toBeCloseTo(321, 1)
+ expect(text.bbox().cy).toBeCloseTo(567, 1)
})
})