diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-05 15:12:58 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-05 15:12:58 +0100 |
commit | 4049e2e6361d5ed9120f1edd02ef96ecc138fa6d (patch) | |
tree | eeaee230519f755a6d8bd655e84fb08335da8bbd /spec | |
parent | edc9454ddf9a0fc29a81713b98e15ddfded04bf4 (diff) | |
download | svg.js-4049e2e6361d5ed9120f1edd02ef96ecc138fa6d.tar.gz svg.js-4049e2e6361d5ed9120f1edd02ef96ecc138fa6d.zip |
rework of classes, make events on every object possible
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec/container.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spec/container.js b/spec/spec/container.js index a1bfa6e..6f63ba5 100644 --- a/spec/spec/container.js +++ b/spec/spec/container.js @@ -176,8 +176,8 @@ describe('Container', function() { it('creates an instance of SVG.Text', function() { expect(draw.text(loremIpsum) instanceof SVG.Text).toBe(true) }) - it('is an instance of SVG.Parent', function() { - expect(draw.text(loremIpsum) instanceof SVG.Parent).toBe(true) + it('is an instance of SVG.Shape', function() { + expect(draw.text(loremIpsum) instanceof SVG.Shape).toBe(true) }) it('is an instance of SVG.Element', function() { expect(draw.text(loremIpsum) instanceof SVG.Element).toBe(true) @@ -197,7 +197,7 @@ describe('Container', function() { expect(draw.plain(loremIpsum) instanceof SVG.Text).toBe(true) }) it('is an instance of SVG.Parent', function() { - expect(draw.plain(loremIpsum) instanceof SVG.Parent).toBe(true) + expect(draw.plain(loremIpsum) instanceof SVG.Shape).toBe(true) }) it('is an instance of SVG.Element', function() { expect(draw.plain(loremIpsum) instanceof SVG.Element).toBe(true) |