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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec/text.js b/spec/spec/text.js
index 5ec9640..0d72a91 100644
--- a/spec/spec/text.js
+++ b/spec/spec/text.js
@@ -82,7 +82,7 @@ describe('Text', function() {
describe('move()', function() {
it('should set the x and y position', function() {
text.move(123,456)
- expect(text.lines[0].node.getAttribute('x')).toBe('123')
+ expect(text.node.getAttribute('x')).toBe('123')
expect(text.node.getAttribute('y')).toBe('456')
})
})