diff options
author | wout <wout@impinc.co.uk> | 2014-06-21 20:32:28 +0200 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-06-21 20:32:28 +0200 |
commit | 629a01b3bbf057eae7e0599433bbbcb28acd8587 (patch) | |
tree | c6ce43e4bb28e61885921d19ae99726ea93828c0 /spec | |
parent | 19b6fd4338246d1fd9ca4806e57c7aebcec63826 (diff) | |
download | svg.js-629a01b3bbf057eae7e0599433bbbcb28acd8587.tar.gz svg.js-629a01b3bbf057eae7e0599433bbbcb28acd8587.zip |
Various reference fixes
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/spec/doc.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/spec/doc.js b/spec/spec/doc.js index ba9fecc..81e47f9 100755 --- a/spec/spec/doc.js +++ b/spec/spec/doc.js @@ -3,9 +3,13 @@ describe('Doc', function() { it('is an instance of SVG.Container', function() { expect(draw instanceof SVG.Container).toBe(true) }) + + it('is an instance of SVG.Doc', function() { + expect(draw instanceof SVG.Doc).toBe(true) + }) it('has a defs element', function() { - expect(draw._defs instanceof SVG.Defs).toBe(true) + expect(draw.defs() instanceof SVG.Defs).toBe(true) }) describe('defs()', function() { |